From: Mikael Magnusson Date: Wed, 5 Nov 2014 08:58:34 +0000 (+0100) Subject: Only add xqueue listener fd once, bug 6326 X-Git-Tag: release-3.6.0~17 X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=commitdiff_plain;h=4784b69bd5316f913ac5dd0a623e51a4d94a4ad6;hp=8944094f7164e2649a235fc699cc03b99355a0c8 Only add xqueue listener fd once, bug 6326 --- diff --git a/openbox/openbox.c b/openbox/openbox.c index cba0499..1671a0d 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;