Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen)

This commit is contained in:
Michael Stapelberg 2010-03-25 21:18:46 +01:00
parent 6699d54640
commit 1b8299002e
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }