Type

Filter (and)

Function Signature

(hook-fn win uia-win exe-path desktop-info)

Description

Used by the auto-layout code to determine whether a new window should affect the frame layout. win is the new window object. uia-win is the UI Automation element object for the new window. exe-path is the path of the .exe file that created the window. And desktop-info contains the :id and :name of the window's virtual desktop.

hook-fn should return true if the new window should affect the frame layout, or false otherwise.