From b1eb046aec509b32278253f580a010261218483d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 24 Jun 2008 17:44:30 +0200 Subject: [PATCH] systray: raise on manage Signed-off-by: Julien Danjou --- systray.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/systray.c b/systray.c index e49a35c4..a3f0cb0e 100644 --- a/systray.c +++ b/systray.c @@ -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);