mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
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). |
||
|---|---|---|
| .. | ||
| backend | ||
| interfaces | ||
| render | ||
| types | ||
| util | ||
| wlr | ||
| xcursor | ||
| xwayland | ||
| meson.build | ||