client: fix raising of systray windows

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-24 09:01:32 +02:00
parent 388dbb01c1
commit 333d76d14e
1 changed files with 1 additions and 2 deletions

View File

@ -285,6 +285,7 @@ client_raise(client_t *c)
stack_client_push(c); stack_client_push(c);
config_win_vals[0] = XCB_NONE; config_win_vals[0] = XCB_NONE;
config_win_vals[1] = XCB_STACK_MODE_BELOW;
for(emwin = globalconf.embedded; emwin; emwin = emwin->next) for(emwin = globalconf.embedded; emwin; emwin = emwin->next)
{ {
@ -295,8 +296,6 @@ client_raise(client_t *c)
config_win_vals[0] = emwin->win; config_win_vals[0] = emwin->win;
} }
config_win_vals[1] = XCB_STACK_MODE_BELOW;
for(screen = 0; screen < globalconf.screens_info->nscreen; screen++) for(screen = 0; screen < globalconf.screens_info->nscreen; screen++)
for(sb = globalconf.screens[screen].statusbar; sb; sb = sb->next) for(sb = globalconf.screens[screen].statusbar; sb; sb = sb->next)
if(sb->sw) if(sb->sw)