ewmh: remove setabove for some non-normal windows
Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1fe239e577
commit
bb6c309dfe
5
ewmh.c
5
ewmh.c
|
@ -570,11 +570,6 @@ ewmh_client_check_hints(client_t *c)
|
||||||
c->type = MAX(c->type, WINDOW_TYPE_TOOLBAR);
|
c->type = MAX(c->type, WINDOW_TYPE_TOOLBAR);
|
||||||
else if(state[i] == _NET_WM_WINDOW_TYPE_UTILITY)
|
else if(state[i] == _NET_WM_WINDOW_TYPE_UTILITY)
|
||||||
c->type = MAX(c->type, WINDOW_TYPE_UTILITY);
|
c->type = MAX(c->type, WINDOW_TYPE_UTILITY);
|
||||||
|
|
||||||
if(c->type != WINDOW_TYPE_NORMAL
|
|
||||||
&& c->type != WINDOW_TYPE_DESKTOP
|
|
||||||
&& !c->transient_for)
|
|
||||||
client_setabove(c, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p_delete(&reply);
|
p_delete(&reply);
|
||||||
|
|
Loading…
Reference in New Issue