diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-09-22 17:09:47 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-09-22 17:09:47 -0400 |
commit | 30b5d764265b689d6247a04e9bbef8efb0204e2f (patch) | |
tree | 0488ac4a911ee444af8ab21032c5de9b9ab7f768 /include | |
parent | cef1f60522141f3e1a4fe5278d89bb77118735d4 (diff) |
wlr-seat: keyboard modifiers
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_seat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 15aa6ad8..21f2350d 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -142,4 +142,12 @@ void wlr_seat_keyboard_clear_focus(struct wlr_seat *wlr_seat); uint32_t wlr_seat_keyboard_send_key(struct wlr_seat *wlr_seat, uint32_t time, uint32_t key, uint32_t state); +/** + * Send the modifiers event to the surface with keyboard focus. Also sends the + * event to the surface with pointer focus. + */ +void wlr_seat_keyboard_send_modifiers(struct wlr_seat *wlr_seat, + uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, + uint32_t group); + #endif |