From e83803b8b001bb7eb24ac7441668e57d964f0b27 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 11 Feb 2010 11:00:41 -0500 Subject: [PATCH] get xlib to reload the keyboard on MappingNotify events --- openbox/event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openbox/event.c b/openbox/event.c index 078eaa7f..378b0b4b 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -648,6 +648,7 @@ static void event_process(const XEvent *ec, gpointer data) modifier map, and rebind all the key bindings as appropriate */ ob_debug("Keyboard map changed. Reloading keyboard bindings."); ob_set_state(OB_STATE_RECONFIGURING); + XRefreshKeyboardMapping(&e->xmapping); obt_keyboard_reload(); keyboard_rebind(); ob_set_state(OB_STATE_RUNNING); -- 2.45.2