Enum RouterOptions
- Namespace
- Whim
- Assembly
- Whim.dll
Describes how to route windows when they are added to Whim.
public enum RouterOptions
Fields
RouteToActiveWorkspace = 1
- Routes windows to the active workspace. This may lead to unexpected results, as the
ActiveMonitorHandle and thus the active workspace
will be updated by every window event sent by Windows - even those which Whim ignores.
For example, launching an app from the taskbar on Windows 11 will causeShell_TrayWnd
to focus on the main monitor, overriding the ActiveMonitorHandle. As a result, the window will be routed to the workspace on the main monitor. RouteToLastTrackedActiveWorkspace = 2
- Routes windows to the workspace which last received an event sent by Windows which Whim did not ignore.
RouteToLaunchedWorkspace = 0
- Routes windows to the workspace that the window was launched on by Windows.