GNU Info

Info Node: (sawfish.info)Input Focus

(sawfish.info)Input Focus


Next: X Properties Prev: Window Attributes Up: Windows
Enter node , (file) or (file)node

Input Focus
===========

   The input focus defines exactly which client window will receive
events generated by the keyboard.

 - Function: input-focus
     Returns the window object of the currently focused window, or
     `nil' if no window is focused.

 - Function: set-input-focus window
     Sets the focus to the client window associated with WINDOW.

 - Variable: focus-mode
     Defines the current method of using the mouse to assign the input
     focus. Possible values are `enter-exit', `enter-only' and `click'.

 - Variable: focus-proxy-click
     When in click-to-focus mode, the focus-assigning click is only
     passed through to the client window if this variable is non-`nil'.

     This option may be set on a per-window basis by setting the
     `focus-click-through' property of the window (using the
     `window-put' function).

   Sawfish also maintains the order in which windows were recently
focused.

 - Function: window-order &optional workspace allow-iconified
          all-viewports
     Return a list of windows, in most-recently-focused order.

     If WORKSPACE is an integer, then only windows on that workspace
     are included, otherwise all workspaces are searched.

     If ALLOW-ICONIFIED is non-nil, iconified windows are included. If
     `all-viewports' is non-nil, then all viewports of the workspace(s)
     are scanned.

 - Function: window-order-push window
     Push window object WINDOW onto the top of the focus stack.

 - Function: window-order-pop window
     Remove window object WINDOW from the focus stack.

 - Function: window-order-focus-most-recent
     Focus the most-recently-focused window on the current viewport of
     the current workspace.


automatically generated by info2www version 1.2.2.9