diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-17 08:31:15 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-17 08:31:15 -0500 |
commit | b6f29e87e85b599170a0ffd1f4c94c46c216d51a (patch) | |
tree | 819b483e84497623a7c5454f1dd0e7aef9b60f9b /rootston | |
parent | 43896af90fbd6c743be1e54a0659d7c0f89eaa00 (diff) |
dont use pointer for modifiers
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/keyboard.c | 2 | ||||
-rw-r--r-- | rootston/seat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c index 09adea5a..f1123599 100644 --- a/rootston/keyboard.c +++ b/rootston/keyboard.c @@ -289,7 +289,7 @@ 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, - r_keyboard->device->keyboard->modifiers); + &r_keyboard->device->keyboard->modifiers); } static void keyboard_config_merge(struct roots_keyboard_config *config, diff --git a/rootston/seat.c b/rootston/seat.c index ed58e294..1a0e6253 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -667,7 +667,7 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) { if (keyboard != NULL) { wlr_seat_keyboard_notify_enter(seat->seat, view->wlr_surface, keyboard->keycodes, keyboard->num_keycodes, - keyboard->modifiers); + &keyboard->modifiers); } else { wlr_seat_keyboard_notify_enter(seat->seat, view->wlr_surface, NULL, 0, NULL); |