wlroots/backend/wayland/meson.build
Lahav T fae0a7d493 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>
2023-11-22 16:09:23 +00:00

32 lines
648 B
Meson

wayland_client = dependency('wayland-client',
fallback: 'wayland',
default_options: wayland_project_options,
)
wlr_deps += wayland_client
wlr_files += files(
'backend.c',
'output.c',
'seat.c',
'pointer.c',
'tablet_v2.c',
)
client_protos = [
'drm',
'linux-dmabuf-unstable-v1',
'pointer-gestures-unstable-v1',
'presentation-time',
'relative-pointer-unstable-v1',
'tablet-unstable-v2',
'viewporter',
'xdg-activation-v1',
'xdg-decoration-unstable-v1',
'xdg-shell',
'pointer-constraints-unstable-v1',
'keyboard-shortcuts-inhibit-unstable-v1',
]
foreach proto : client_protos
wlr_files += protocols_client_header[proto]
endforeach