From: Michael Stapelberg Date: Thu, 25 Mar 2010 20:18:46 +0000 (+0100) Subject: Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen) X-Git-Tag: 3.e~6^2~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b8299002ecf75f183f43e8aa52aa63ddfcf2087;p=i3%2Fi3 Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen) --- diff --git a/src/config.c b/src/config.c index d89af991..c7ef0af9 100644 --- a/src/config.c +++ b/src/config.c @@ -205,6 +205,7 @@ void switch_mode(xcb_connection_t *conn, const char *new_mode) { ungrab_all_keys(conn); bindings = mode->bindings; + translate_keysyms(); grab_all_keys(conn, false); return; }