mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awesome: init systray earlier
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
df843a8452
commit
85cbdc044b
1 changed files with 11 additions and 11 deletions
22
awesome.c
22
awesome.c
|
@ -474,17 +474,6 @@ main(int argc, char **argv)
|
|||
globalconf.keysyms, &globalconf.numlockmask,
|
||||
&globalconf.shiftlockmask, &globalconf.capslockmask);
|
||||
|
||||
/* Parse and run configuration file */
|
||||
luaA_parserc(confpath, true);
|
||||
|
||||
/* scan existing windows */
|
||||
scan();
|
||||
|
||||
/* process all errors in the queue if any */
|
||||
xcb_event_poll_for_event_loop(&globalconf.evenths);
|
||||
a_xcb_set_event_handlers();
|
||||
a_xcb_set_property_handlers();
|
||||
|
||||
/* do this only for real screen */
|
||||
for(screen_nbr = 0;
|
||||
screen_nbr < xcb_setup_roots_length(xcb_get_setup(globalconf.connection));
|
||||
|
@ -507,6 +496,17 @@ main(int argc, char **argv)
|
|||
systray_init(screen_nbr);
|
||||
}
|
||||
|
||||
/* Parse and run configuration file */
|
||||
luaA_parserc(confpath, true);
|
||||
|
||||
/* scan existing windows */
|
||||
scan();
|
||||
|
||||
/* process all errors in the queue if any */
|
||||
xcb_event_poll_for_event_loop(&globalconf.evenths);
|
||||
a_xcb_set_event_handlers();
|
||||
a_xcb_set_property_handlers();
|
||||
|
||||
/* Grab server */
|
||||
xcb_ungrab_server(globalconf.connection);
|
||||
|
||||
|
|
Loading…
Reference in a new issue