diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-09 17:29:28 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-09 17:29:28 -0500 |
commit | 739361aa70d61cbc9e062d6a90df09f258a1bbcb (patch) | |
tree | 58dc199a9bbec8a06e11fab98f918a8bb70262b7 /rootston | |
parent | c680ace5e8209d573e7ce2d676bbf5fe1b4ff894 (diff) |
wlr-keyboard: take out modifiers event struct (for now)
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/keyboard.c | 3 | ||||
-rw-r--r-- | rootston/seat.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c index 9692ea7d..da75b44f 100644 --- a/rootston/keyboard.c +++ b/rootston/keyboard.c @@ -204,8 +204,7 @@ void roots_keyboard_handle_key(struct roots_keyboard *keyboard, } } -void roots_keyboard_handle_modifiers(struct roots_keyboard *r_keyboard, - struct wlr_event_keyboard_modifiers *event) { +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); diff --git a/rootston/seat.c b/rootston/seat.c index ce8ad10b..97d5c7e4 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -22,8 +22,7 @@ static void handle_keyboard_modifiers(struct wl_listener *listener, void *data) { struct roots_keyboard *keyboard = wl_container_of(listener, keyboard, keyboard_modifiers); - struct wlr_event_keyboard_modifiers *event = data; - roots_keyboard_handle_modifiers(keyboard, event); + roots_keyboard_handle_modifiers(keyboard); } static void handle_cursor_motion(struct wl_listener *listener, void *data) { |