Type
Filter (or)
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 forcibly. 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 forcibly, or false otherwise.
This hook is called before the :filter-window hook. :filter-window will be skipped, when this hook returns true.