Type
Filter (and)
Function Signature
(hook-fn hwnd uia-win exe-path desktop-info)Description
Used by the window manager to determine whether a window should be managed. hwnd is the native handle for the new window. uia-win is the UI Automation element for the window. exe-path is the path of the .exe file that created the window. desktop-info contains the :id and :name of the window's virtual desktop.
hook-fn should return true, if a window is to be managed, or false otherwise.
The window manager registers its own :filter-window hook function, to filter out unmanageable windows, using some pre-defined rules.