From 0cc29da7c94e283783d667baf3152a6f1d872956 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 19 Feb 2010 15:22:05 -0500 Subject: [PATCH] refresh the xlib keyboard stuff on mappingnotify --- openbox/event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openbox/event.c b/openbox/event.c index 1803389b..7f1150fc 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -642,6 +642,7 @@ static void event_process(const XEvent *ec, gpointer data) /* keyboard layout changes for modifier mapping changes. reload the modifier map, and rebind all the key bindings as appropriate */ ob_debug("Keyboard map changed. Reloading keyboard bindings.\n"); + XRefreshKeyboardMapping(&e->xmapping); ob_set_state(OB_STATE_RECONFIGURING); modkeys_shutdown(TRUE); modkeys_startup(TRUE); -- 2.34.1