summaryrefslogtreecommitdiff
path: root/src/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack.c')
-rw-r--r--src/stack.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/stack.c b/src/stack.c
index c55ef45..4b8c00a 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -275,10 +275,13 @@ compute_layer (MetaWindow *window)
break;
default:
- window->layer = META_LAYER_NORMAL;
+ if (window->fullscreen)
+ window->layer = META_LAYER_FULLSCREEN;
+ else
+ window->layer = META_LAYER_NORMAL;
break;
- }
-
+ }
+
meta_topic (META_DEBUG_STACK, "Window %s on layer %d\n",
window->desc, window->layer);
}