mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
compositor modifier hook
This commit is contained in:
parent
c8b9c0ad0e
commit
0ef2df21f2
6 changed files with 51 additions and 34 deletions
|
|
@ -279,7 +279,8 @@ void roots_keyboard_handle_key(struct roots_keyboard *keyboard,
|
|||
void roots_keyboard_handle_modifiers(struct roots_keyboard *r_keyboard) {
|
||||
struct wlr_seat *seat = r_keyboard->seat->seat;
|
||||
wlr_seat_set_keyboard(seat, r_keyboard->device);
|
||||
wlr_seat_keyboard_notify_modifiers(seat);
|
||||
wlr_seat_keyboard_notify_modifiers(seat,
|
||||
r_keyboard->device->keyboard->modifiers);
|
||||
}
|
||||
|
||||
static void keyboard_config_merge(struct roots_keyboard_config *config,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue