mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-20 06:47:19 -04:00
backend/wayland: Add wlr_wl_backend_set_grab_input_shortcut
Note: For the function to work, keyboard_listener in backend/wayland/seat.c now passes wlr_wl_seat instead of wlr_keyboard by using this function, a compositor can specify a keyboard shortcut that when pressed, will disable the keyboard shortcuts and confine the pointer to the currently focused wayland output, if the system compositor supports these features. Signed-off-by: Lahav T <lahavts@gmail.com>
This commit is contained in:
parent
41494244df
commit
fae0a7d493
5 changed files with 200 additions and 5 deletions
|
|
@ -23,6 +23,8 @@ client_protos = [
|
|||
'xdg-activation-v1',
|
||||
'xdg-decoration-unstable-v1',
|
||||
'xdg-shell',
|
||||
'pointer-constraints-unstable-v1',
|
||||
'keyboard-shortcuts-inhibit-unstable-v1',
|
||||
]
|
||||
|
||||
foreach proto : client_protos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue