mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
tearing: add fullscreen options (#1941)
Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
parent
19f0b769de
commit
433a4509af
9 changed files with 105 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -185,9 +185,18 @@ this is for compatibility with Openbox.
|
|||
*fullscreen* enables adaptive sync whenever a window is in fullscreen
|
||||
mode.
|
||||
|
||||
*<core><allowTearing>* [yes|no]
|
||||
Allow tearing, if requested by the active window, to reduce input lag.
|
||||
Default is no.
|
||||
*<core><allowTearing>* [yes|no|fullscreen|fullscreenForced]
|
||||
Allow tearing to reduce input lag. Default is no.
|
||||
|
||||
*yes* allows tearing if requested by the active window.
|
||||
|
||||
*fullscreen* allows tearing if requested by the active window, but
|
||||
only when the window is in fullscreen mode.
|
||||
|
||||
*fullscreenForced* enables tearing whenever the active window is in
|
||||
fullscreen mode, whether or not the application has requested tearing.
|
||||
|
||||
Use the *ToggleTearing* action for forcefully enable tearing.
|
||||
|
||||
Note: Enabling this option with atomic mode setting is experimental. If
|
||||
you experience undesirable side effects when tearing is allowed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue