client: fix raising of systray windows
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
388dbb01c1
commit
333d76d14e
3
client.c
3
client.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue