From ffb5e464928db7da5592fffd661802a44cf24dec Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 28 Apr 2009 17:35:12 +0200 Subject: [PATCH] key: use right value for no symbol Signed-off-by: Julien Danjou --- key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key.c b/key.c index cbed1913..8713ebb3 100644 --- a/key.c +++ b/key.c @@ -109,7 +109,7 @@ key_getkeysym(xcb_keycode_t detail, uint16_t state) } /* If the second column does not exists use the first one. */ - if(k1 == XCB_NONE) + if(k1 == XCB_NO_SYMBOL) k1 = k0; /* The numlock modifier is on and the second KeySym is a keypad