Use xcb_aux_sync to register error
Otherwise we get multiple awesome at the same time. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3fecec15c3
commit
04eff691c9
|
@ -382,7 +382,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
|
||||
/* Need to xcb_flush to validate error handler */
|
||||
xcb_flush(globalconf.connection);
|
||||
xcb_aux_sync(globalconf.connection);
|
||||
|
||||
/* Process all errors in the queue if any */
|
||||
xcb_poll_for_event_loop(globalconf.evenths);
|
||||
|
@ -474,7 +474,7 @@ main(int argc, char **argv)
|
|||
systray_init(screen_nbr);
|
||||
}
|
||||
|
||||
xcb_flush(globalconf.connection);
|
||||
xcb_aux_sync(globalconf.connection);
|
||||
|
||||
luaA_cs_init();
|
||||
a_dbus_init();
|
||||
|
|
Loading…
Reference in New Issue