Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen)
This commit is contained in:
@ -205,6 +205,7 @@ void switch_mode(xcb_connection_t *conn, const char *new_mode) {
|
|||||||
|
|
||||||
ungrab_all_keys(conn);
|
ungrab_all_keys(conn);
|
||||||
bindings = mode->bindings;
|
bindings = mode->bindings;
|
||||||
|
translate_keysyms();
|
||||||
grab_all_keys(conn, false);
|
grab_all_keys(conn, false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user