systray: check for embedder window on startup
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
70dbe7bc4d
commit
6f9d196e67
|
@ -63,6 +63,8 @@ systray_request_handle(xcb_window_t embed_win, int phys_screen, xembed_info_t *i
|
||||||
|
|
||||||
xembed_window_list_append(&globalconf.embedded, em);
|
xembed_window_list_append(&globalconf.embedded, em);
|
||||||
|
|
||||||
|
/** \todo we should create a dedicated window for that */
|
||||||
|
if(globalconf.screens[phys_screen].systray)
|
||||||
xembed_embedded_notify(globalconf.connection, em->win,
|
xembed_embedded_notify(globalconf.connection, em->win,
|
||||||
globalconf.screens[phys_screen].systray->sw->window,
|
globalconf.screens[phys_screen].systray->sw->window,
|
||||||
MIN(XEMBED_VERSION, em->info.version));
|
MIN(XEMBED_VERSION, em->info.version));
|
||||||
|
|
Loading…
Reference in New Issue