Function: auto-lower-mode

auto-lower-mode is an interactive and byte-compiled function defined in frame.el.gz.

Signature

(auto-lower-mode &optional ARG)

Documentation

Toggle whether or not the selected frame should auto-lower.

Auto Lower mode does nothing under most window managers, which switch focus on mouse clicks. It only has an effect if your window manager switches focus on mouse movement (in which case you should also change focus-follows-mouse to t). Then, enabling Auto Lower Mode causes any graphical Emacs frame which loses focus to be automatically lowered.

Note that this minor mode controls Emacs's own auto-lower feature. Window managers that switch focus on mouse movement often have their own features for raising or lowering frames.

This is a minor mode. If called interactively, toggle the Auto-Lower mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate (frame-parameter nil \=auto-lower)'.

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(define-minor-mode auto-lower-mode
  "Toggle whether or not the selected frame should auto-lower.

Auto Lower mode does nothing under most window managers, which
switch focus on mouse clicks.  It only has an effect if your
window manager switches focus on mouse movement (in which case
you should also change `focus-follows-mouse' to t).  Then,
enabling Auto Lower Mode causes any graphical Emacs frame which
loses focus to be automatically lowered.

Note that this minor mode controls Emacs's own auto-lower
feature.  Window managers that switch focus on mouse movement
often have their own features for raising or lowering frames."
  :variable (frame-parameter nil 'auto-lower))