summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-03-02 15:37:07 -0500
committerDana Jansens <danakj@orodu.net>2008-03-02 15:40:11 -0500
commit7ea56abf05b9e6cd4e806dbfa1146562378edc7b (patch)
tree8875e2fdc795cd3c291fba0b06f3ba94d196acf4 /openbox/event.c
parent8562034e30e8b319a746009859cbefc1f41b41f5 (diff)
add a RECONFIGURING state, and enter that when doing reconfiguring
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 5c4700ae..a7f65fcb 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -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