Only add xqueue listener fd once, bug 6326

This commit is contained in:
Mikael Magnusson 2014-11-05 09:58:34 +01:00
parent 8944094f71
commit 4784b69bd5

View file

@ -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;