You have 2-3 monitors. A dozen windows open. You start typing and...
Wait, which window has focus?
You Alt-Tab, something pops up on the wrong screen. You click, but the cursor was on a different monitor. Sound familiar?
Where Is My Window highlights the active window with a colored border and shows which monitor is active.
|
π΅ Blue Border Follows your focused window in real-time |
π’ Monitor Badges Numbered labels show active monitor |
β‘ Zero Impact ~0% CPU, <10MB RAM |
- Smart Border - Solid or Glow style, click-through
- Monitor Badges - Active monitor highlighted in blue
- Flash on Switch - Optional screen edge flash when switching monitors
- Hotkey Reveal -
Ctrl+Shift+Fshows monitor layout - System Tray - Lives in tray, no window clutter
- Lightweight - Pure Rust + Win32 APIs, no Electron bloat
Grab the .exe from Releases
git clone https://github.com/Jeffrey0117/whereismywindow.git
cd whereismywindow
cargo build --releaseRun target\release\whereismywindow.exe
The app runs in the system tray. Right-click the tray icon for options:
| Option | Description |
|---|---|
| Border: ON/OFF | Toggle focus border |
| Style: Solid/Glow | Switch border style |
| Flash: ON/OFF | Flash screen on monitor switch |
| Indicator: ON/OFF | Toggle monitor badges |
| Quit | Exit app |
Ctrl+Shift+F- Show monitor layout info
Built with Rust + Direct2D + Win32 APIs:
- Focus Tracking - Windows event hooks detect active window changes
- Overlay Rendering - Transparent topmost window with color-key transparency
- Real-time Updates - Border follows window position/size changes instantly
No framework, no runtime, no bloat. Just pure system integration.
Multi-monitor setups are amazing until you lose track of focus. This app solves that with zero learning curve:
β Glance at screen β See blue border β Know where you are β No config files, no settings to learn β Just works
- Windows 10 or 11
- Multiple monitors (works on single monitor too, but kinda pointless)
- Customizable border colors
- Per-app border rules (e.g., red for terminal, green for browser)
- Auto-start on boot option
- Portable mode (no installer)
PRs welcome! Keep it simple and lightweight.
MIT License - Use it, fork it, modify it.
If this saved you from typing in the wrong window, give it a β!
Made with π by Jeffrey0117
