Add an env var for wayland output to grab input

Add a new environment variable WLR_WL_GRAB_INPUT_SHORTCUT that lets
you specify a keyboard shortcut that when pressed,
will disable the keyboard shortcuts and confine the pointer
by using the function wlr_wl_backend_set_grab_input_shortcut.
This commit is contained in:
Lahav T 2023-11-21 23:09:36 +02:00 committed by Lahav Tsur
parent fae0a7d493
commit f667a339eb
2 changed files with 66 additions and 0 deletions

View file

@ -39,6 +39,7 @@ wlroots reads these environment variables
## Wayland backend
* *WLR_WL_OUTPUTS*: when using the wayland backend specifies the number of outputs
* *WLR_WL_GRAB_INPUT_SHORTCUT*: when using the wayland backend, specify the shortcut (mods+key) to toggle input grab of the focused wayland output. Examples: control+shift+alt, control_r, alt_l.
## X11 backend