docs: document raiseOnFocusDelay

Add the new option to labwc-config(5) and the example rc.xml.all.
This commit is contained in:
Jos Dehaes 2026-04-15 14:37:29 +02:00 committed by Johan Malm
parent 9661ed4285
commit 6237e26a1d
2 changed files with 9 additions and 0 deletions

View file

@ -493,6 +493,13 @@ this is for compatibility with Openbox.
*<focus><raiseOnFocus>* [yes|no] *<focus><raiseOnFocus>* [yes|no]
Raise window to top when focused. Default is no. Raise window to top when focused. Default is no.
*<focus><raiseOnFocusDelay>* [milliseconds]
When raiseOnFocus is enabled, delay the actual raise by this many
milliseconds. Default is 0 (raise immediately). A subsequent focus
change before the timer elapses restarts or cancels the pending raise.
Useful together with followMouse to avoid brief passes of the cursor
stacking up z-order changes.
## WINDOW SNAPPING ## WINDOW SNAPPING
Windows may be "snapped" to an edge or user-defined region of an output when Windows may be "snapped" to an edge or user-defined region of an output when

View file

@ -158,6 +158,8 @@
<followMouse>no</followMouse> <followMouse>no</followMouse>
<followMouseRequiresMovement>yes</followMouseRequiresMovement> <followMouseRequiresMovement>yes</followMouseRequiresMovement>
<raiseOnFocus>no</raiseOnFocus> <raiseOnFocus>no</raiseOnFocus>
<!-- Delay (ms) before applying raise-on-focus. 0 = immediate. -->
<raiseOnFocusDelay>0</raiseOnFocusDelay>
</focus> </focus>
<snapping> <snapping>