aboutsummaryrefslogtreecommitdiff
path: root/rootston/keyboard.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-21 22:16:55 +0100
committeremersion <contact@emersion.fr>2018-01-21 22:18:06 +0100
commit59c53e8333cae17210832fb79514c4d0110c7de8 (patch)
treea2b06676b53f4f7ca075ce728155d0d442f69759 /rootston/keyboard.c
parentf704c3d42b80ad28bfd096e5467a5219c0778e3b (diff)
parente5fa4d8e8e6e81b0cdac9df2dcb1f589867c98f2 (diff)
Merge remote-tracking branch 'upstream/master' into output-damage
Diffstat (limited to 'rootston/keyboard.c')
-rw-r--r--rootston/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c
index 14199afd..f1123599 100644
--- a/rootston/keyboard.c
+++ b/rootston/keyboard.c
@@ -288,7 +288,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,