wlroots/types/seat
Daniel De Graaf 8ad0c0166b seat/keyboard: support sending modifiers when not focused
This adds wlr_seat_client_notify_modifiers which sends the current
keyboard modifiers to an additional client, tracking what the client
last saw to avoid unneeded duplicates. This is useful to make actions
like "ctrl+scroll" work correctly when pointer and keyboard focus are on
distinct clients.

The tracked modifier state is also used to avoid sending unneeded
modifiers events in default_keyboard_modifiers.  No de-duplication is
performed in wlr_seat_keyboard_send_modifiers because that function is
used in cases where the protocol unconditionally requires a modifiers
event to be sent (such as after wl_keyboard_enter).
2025-04-18 18:11:07 -04:00
..
wlr_seat.c Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
wlr_seat_keyboard.c seat/keyboard: support sending modifiers when not focused 2025-04-18 18:11:07 -04:00
wlr_seat_pointer.c seat: drop last_event 2024-11-12 08:28:50 +00:00
wlr_seat_touch.c seat: Don't forget to destroy touch points on touch up 2025-02-13 16:41:05 +00:00