@ -211,7 +211,7 @@ Binding *get_binding_from_xcb_event(xcb_generic_event_t *event) {
|
||||
state_filtered &= 0xFF;
|
||||
DLOG("(removed upper 8 bits, state = %d)\n", state_filtered);
|
||||
|
||||
if (xkb_current_group == XkbGroup2Index)
|
||||
if (xkb_current_group == XCB_XKB_GROUP_2)
|
||||
state_filtered |= BIND_MODE_SWITCH;
|
||||
|
||||
DLOG("(checked mode_switch, state %d)\n", state_filtered);
|
||||
@ -294,8 +294,8 @@ void translate_keysyms(void) {
|
||||
bind->translated_to[bind->number_keycodes - 1] = i;
|
||||
}
|
||||
|
||||
DLOG("Translated symbol \"%s\" to %d keycode\n", bind->symbol,
|
||||
bind->number_keycodes);
|
||||
DLOG("Translated symbol \"%s\" to %d keycode (mods %d)\n", bind->symbol,
|
||||
bind->number_keycodes, bind->mods);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user