Make fullscreen stacking respect EWMH
Fullscreen windows should only get their own layer when they have the input focus. When they are unfocused they should be treated normally (FS#560). Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
9977802d7e
commit
84676561da
2
client.c
2
client.c
|
@ -516,7 +516,7 @@ client_layer_translator(client_t *c)
|
||||||
/* first deal with user set attributes */
|
/* first deal with user set attributes */
|
||||||
if(c->ontop)
|
if(c->ontop)
|
||||||
return LAYER_ONTOP;
|
return LAYER_ONTOP;
|
||||||
else if(c->fullscreen)
|
else if(c->fullscreen && globalconf.screen_focus->client_focus == c)
|
||||||
return LAYER_FULLSCREEN;
|
return LAYER_FULLSCREEN;
|
||||||
else if(c->above)
|
else if(c->above)
|
||||||
return LAYER_ABOVE;
|
return LAYER_ABOVE;
|
||||||
|
|
Loading…
Reference in New Issue