Bugfix: That should be xcb_keycode_t, not xcb_keysym_t

This commit is contained in:
Michael Stapelberg 2009-04-19 21:40:49 +02:00
parent 69c9db4016
commit aefae99a11
1 changed files with 3 additions and 3 deletions

View File

@ -262,11 +262,11 @@ void xcb_get_numlock_mask(xcb_connection_t *conn) {
/* Get the keycode for numlock */ /* Get the keycode for numlock */
#ifdef OLD_XCB_KEYSYMS_API #ifdef OLD_XCB_KEYSYMS_API
xcb_keysym_t numlock = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK); xcb_keycode_t numlock = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK);
#else #else
/* For now, we only use the first keysymbol. */ /* For now, we only use the first keysymbol. */
xcb_keysym_t *numlock_syms = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK); xcb_keycode_t *numlock_syms = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK);
xcb_keysym_t numlock = *numlock_syms; xcb_keycode_t numlock = *numlock_syms;
#endif #endif
/* Check all modifiers (Mod1-Mod5, Shift, Control, Lock) */ /* Check all modifiers (Mod1-Mod5, Shift, Control, Lock) */