Fix compilation with the old xcb keysyms api

This commit is contained in:
Michael Stapelberg 2010-03-19 16:02:12 +01:00
parent 91b6c69eae
commit 0bb1b718d1
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void translate_keysyms() {
bind->number_keycodes = 1;
xcb_keycode_t code = xcb_key_symbols_get_keycode(keysyms, keysym);
DLOG("Translated symbol \"%s\" to 1 keycode (%d)\n", bind->symbol, code);
grab_keycode_for_binding(conn, bind, code);
grab_keycode_for_binding(global_conn, bind, code);
bind->translated_to = smalloc(sizeof(xcb_keycode_t));
memcpy(bind->translated_to, &code, sizeof(xcb_keycode_t));
#else