projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed18f7d
)
state: use the XKB_MOD_MASK constant
author
Ran Benita
<ran234@gmail.com>
Fri, 7 Feb 2014 15:29:34 +0000
(17:29 +0200)
committer
Ran Benita
<ran234@gmail.com>
Fri, 7 Feb 2014 15:29:34 +0000
(17:29 +0200)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/state.c
patch
|
blob
|
history
diff --git
a/src/state.c
b/src/state.c
index
768d47c
..
3f470b1
100644
(file)
--- a/
src/state.c
+++ b/
src/state.c
@@
-108,7
+108,7
@@
struct xkb_state {
* < Left Shift down, Right Shift down, Left Shift Up >
* the modifier should still be set. This keeps the count.
*/
- int16_t mod_key_count[
sizeof(xkb_mod_mask_t) * 8
];
+ int16_t mod_key_count[
XKB_MAX_MODS
];
int refcnt;
darray(struct xkb_filter) filters;