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:
21f1bff
)
Update xkb_filter_group_lock_func for xkb_key_direction
author
Daniel Stone
<daniel@fooishbar.org>
Tue, 27 Mar 2012 15:15:06 +0000
(16:15 +0100)
committer
Daniel Stone
<daniel@fooishbar.org>
Tue, 27 Mar 2012 15:15:06 +0000
(16:15 +0100)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/state.c
patch
|
blob
|
history
diff --git
a/src/state.c
b/src/state.c
index
ff5cd09
..
9dda257
100644
(file)
--- a/
src/state.c
+++ b/
src/state.c
@@
-187,12
+187,12
@@
xkb_filter_group_set_new(struct xkb_state *state, xkb_keycode_t keycode,
static int
xkb_filter_group_lock_func(struct xkb_filter *filter, xkb_keycode_t keycode,
-
int dow
n)
+
enum xkb_key_direction directio
n)
{
if (keycode != filter->keycode)
return 1;
- if (d
own
) {
+ if (d
irection == XKB_KEY_DOWN
) {
filter->refcnt++;
return 0;
}