summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2014-11-05 09:58:34 +0100
committerMikael Magnusson <mikachu@gmail.com>2014-11-05 09:59:15 +0100
commit4784b69bd5316f913ac5dd0a623e51a4d94a4ad6 (patch)
tree58823b319be43ef4d607b054e1fc1e0b021cfe1b /openbox/openbox.c
parent8944094f7164e2649a235fc699cc03b99355a0c8 (diff)
Only add xqueue listener fd once, bug 6326
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index cba04995..1671a0d3 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -329,11 +329,11 @@ gint main(gint argc, gchar **argv)
menu_startup(reconfigure);
prompt_startup(reconfigure);
- /* do this after everything is started so no events will get
- missed */
- xqueue_listen();
-
if (!reconfigure) {
+ /* do this after everything is started so no events will get
+ missed */
+ xqueue_listen();
+
guint32 xid;
ObWindow *w;