aboutsummaryrefslogtreecommitdiff
path: root/rootston/keyboard.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-17 09:38:58 -0500
committerGitHub <noreply@github.com>2018-01-17 09:38:58 -0500
commit1fbd6cb0f0a517188aa17b57c3e116619d50f0bd (patch)
tree819b483e84497623a7c5454f1dd0e7aef9b60f9b /rootston/keyboard.c
parentf2698a896085a5a2dd651a7f1d4fb623d567acf4 (diff)
parentb6f29e87e85b599170a0ffd1f4c94c46c216d51a (diff)
Merge pull request #553 from acrisci/modifier-fixes
compositor modifier hooks
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,