]> Dogcows Code - chaz/openbox/commitdiff
get xlib to reload the keyboard on MappingNotify events
authorDana Jansens <danakj@orodu.net>
Thu, 11 Feb 2010 16:00:41 +0000 (11:00 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 11 Feb 2010 16:01:19 +0000 (11:01 -0500)
openbox/event.c

index 078eaa7f9dfcc7d0d1c50fd4ca08e7abd066a318..378b0b4b04dfdf443705660bc0f5ada12bd1730d 100644 (file)
@@ -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);
This page took 0.024162 seconds and 4 git commands to generate.