no-op change: store |button| in the correct data type

This commit is contained in:
Michael Stapelberg 2017-05-24 20:41:55 +02:00
parent 0acd11a8d7
commit 26f5edb97f
1 changed files with 3 additions and 2 deletions

View File

@ -483,8 +483,9 @@ void translate_keysyms(void) {
ELOG("Could not translate string to button: \"%s\"\n", bind->symbol); ELOG("Could not translate string to button: \"%s\"\n", bind->symbol);
} }
bind->keycode = button; xcb_keycode_t key = button;
ADD_TRANSLATED_KEY(button, bind->event_state_mask); bind->keycode = key;
ADD_TRANSLATED_KEY(key, bind->event_state_mask);
continue; continue;
} }