tearing: add fullscreen options

Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
Jens Peters 2024-06-29 07:19:24 +02:00
parent 4bda13d870
commit 6047269db4
No known key found for this signature in database
9 changed files with 105 additions and 20 deletions

View file

@ -187,7 +187,12 @@ Actions are used in menus and keyboard/mouse bindings.
original window. There can be multiple windows with this mode set.
*<action name="ToggleTearing" />*
Toggles tearing for the focused window.
Toggles tearing for the focused window between enabled and disabled.
This overrides the preference (tearing hint) from the focused window.
Requires the config option 'allowTearing'. When 'allowTearing' is set
to 'fullscreen' or 'fullscreenForced', tearing will still only be
enabled if the active window is in fullscreen mode.
*<action name="FocusOutput" output="HDMI-A-1" />*
Give focus to topmost window on given output and warp the cursor