aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-05 07:00:50 -0500
committerTony Crisci <tony@dubstepdish.com>2018-01-05 07:00:50 -0500
commit0ef2df21f2943c3985fcc86f5f6c3289036be491 (patch)
tree600c5651159a12b85632cf72eb3e7c4b863a68f0 /rootston
parentc8b9c0ad0e8155a04f3192b75c5bcd64597fbc16 (diff)
compositor modifier hook
Diffstat (limited to 'rootston')
-rw-r--r--rootston/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c
index 7b281308..29409dd7 100644
--- a/rootston/keyboard.c
+++ b/rootston/keyboard.c
@@ -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,