aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-07 13:04:04 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-07 13:04:04 -0400
commit4f848000af6bdf57a6e861e69a53677f23133202 (patch)
tree341aca21d2cfd2b24021e83c4f85fa68b9f4618a /backend/libinput
parent4680943e749bfd441d31c988faa50f2b1ae043ad (diff)
parent321c26c2a3c77ddba52e1a6194669328e473fdb4 (diff)
Merge branch 'master' into feature/xdg-popup
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/libinput/keyboard.c b/backend/libinput/keyboard.c
index 53c3a61b..00a7ecdf 100644
--- a/backend/libinput/keyboard.c
+++ b/backend/libinput/keyboard.c
@@ -67,5 +67,6 @@ void handle_keyboard_key(struct libinput_event *event,
wlr_event.state = WLR_KEY_PRESSED;
break;
}
- wlr_keyboard_update_state(wlr_dev->keyboard, &wlr_event);
+ wlr_event.update_state = true;
+ wlr_keyboard_notify_key(wlr_dev->keyboard, &wlr_event);
}