aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-03 13:18:57 +0100
committeremersion <contact@emersion.fr>2018-06-03 13:18:57 +0100
commit551700e88722cf2ec77500b913c8164495d179c6 (patch)
treefff9fffd0ef5bde0f5647566cda2bcd21de86a28 /include
parentd3670dfeff43cbde98fae47fdb60ef223ce8c220 (diff)
backend/wayland: fix keyboard keys not pressed/released when focus changes
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h
index 97288508..67d4e5be 100644
--- a/include/wlr/types/wlr_keyboard.h
+++ b/include/wlr/types/wlr_keyboard.h
@@ -89,7 +89,7 @@ enum wlr_key_state {
struct wlr_event_keyboard_key {
uint32_t time_msec;
uint32_t keycode;
- bool update_state;
+ bool update_state; // if backend doesn't update modifiers on its own
enum wlr_key_state state;
};