Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen)
This commit is contained in:
parent
6699d54640
commit
1b8299002e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue