]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
add a RECONFIGURING state, and enter that when doing reconfiguring
[chaz/openbox] / openbox / event.c
index 5c4700ae8e226a0882290e442d94d7234c77392c..a7f65fcb1e15ed192825a4e11dab4de1aca9f5b3 100644 (file)
@@ -652,9 +652,11 @@ 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("Kepboard map changed. Reloading keyboard bindings.\n");
+        ob_set_state(OB_STATE_RECONFIGURING);
         modkeys_shutdown(TRUE);
         modkeys_startup(TRUE);
         keyboard_rebind();
+        ob_set_state(OB_STATE_RUNNING);
     }
     else if (e->type == ClientMessage) {
         /* This is for _NET_WM_REQUEST_FRAME_EXTENTS messages. They come for
This page took 0.019703 seconds and 4 git commands to generate.