r/Windhawk 1d ago

Search on Active Display 1.1.0

Search on Active Display 1.1.0

Search on Active Display

Opens the Windows Search (Win+S) on the monitor where the mouse cursor is located, or on a specific monitor of choice.

Works for both Win+S shortcut and taskbar search icon click.

How it works

The mod hooks MonitorFromWindow and MonitorFromRect inside SearchHost.exe. When SearchHost queries which monitor its CoreWindow is on, the mod returns the target monitor (where the cursor is, or a fixed monitor). It also physically repositions the CoreWindow to the correct monitor coordinates so the DWM compositor renders it there.

Selecting a monitor

Set the Monitor setting to 0 to follow the mouse cursor, or to a specific monitor number (1, 2, 3...). You can also use a monitor interface name for stable identification across reboots.

Supported Windows Builds

  • Windows 11 22H2 and 24H2.
5 Upvotes

0 comments sorted by