diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-18 15:24:51 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-18 15:24:37 -0400 |
commit | dc073c1ea343e626e3a3a809245308034ed86f5e (patch) | |
tree | cab35cb19c0b197c458ce158148ce791706430e1 /src/lib/elput/elput_private.h | |
parent | dae39821d9b4fa463861a8a4cada4afbf8004834 (diff) |
wayland: fix num/caps lock handling in events
locks are not the same as modifiers, and the corresponding event flag must
be set based on whichever value(s) are set instead of yolo mixing and matching
@fix
ref T5737
Diffstat (limited to '')
-rw-r--r-- | src/lib/elput/elput_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h index f5bc425182..a4ea37b8a1 100644 --- a/src/lib/elput/elput_private.h +++ b/src/lib/elput/elput_private.h | |||
@@ -106,6 +106,7 @@ typedef struct _Elput_Keyboard_Info | |||
106 | { | 106 | { |
107 | xkb_mod_index_t shift; | 107 | xkb_mod_index_t shift; |
108 | xkb_mod_index_t caps; | 108 | xkb_mod_index_t caps; |
109 | xkb_mod_index_t num; | ||
109 | xkb_mod_index_t ctrl; | 110 | xkb_mod_index_t ctrl; |
110 | xkb_mod_index_t alt; | 111 | xkb_mod_index_t alt; |
111 | xkb_mod_index_t altgr; | 112 | xkb_mod_index_t altgr; |