From 84676561da8a1d5cd0680d36cb664bec49ba5543 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 23 Jul 2010 12:22:03 +0200 Subject: [PATCH] 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 --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 008d95da..49d0e915 100644 --- a/client.c +++ b/client.c @@ -516,7 +516,7 @@ client_layer_translator(client_t *c) /* first deal with user set attributes */ if(c->ontop) return LAYER_ONTOP; - else if(c->fullscreen) + else if(c->fullscreen && globalconf.screen_focus->client_focus == c) return LAYER_FULLSCREEN; else if(c->above) return LAYER_ABOVE;