systray: raise on manage

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-24 17:44:30 +02:00
parent f8f882d948
commit b1eb046aec
1 changed files with 8 additions and 1 deletions

View File

@ -114,7 +114,14 @@ systray_request_handle(xcb_window_t embed_win, int phys_screen, xembed_info_t *i
if(globalconf.screens[phys_screen].systray.has_systray_widget
&& em->info.flags & XEMBED_MAPPED)
xcb_map_window(globalconf.connection, em->win);
{
static const uint32_t config_win_vals[2] = { XCB_NONE, XCB_STACK_MODE_BELOW };
xcb_map_window(globalconf.connection, em->win);
xcb_configure_window(globalconf.connection,
em->win,
XCB_CONFIG_WINDOW_SIBLING | XCB_CONFIG_WINDOW_STACK_MODE,
config_win_vals);
}
else
xcb_unmap_window(globalconf.connection, em->win);