From: Dana Jansens Date: Fri, 19 Feb 2010 20:22:05 +0000 (-0500) Subject: refresh the xlib keyboard stuff on mappingnotify X-Git-Tag: release-3.4.11.1~27 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=0cc29da7c94e283783d667baf3152a6f1d872956;p=dana%2Fopenbox.git refresh the xlib keyboard stuff on mappingnotify --- 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);