summaryrefslogtreecommitdiff
path: root/src/stack.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-08-20 03:17:40 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-08-20 03:17:40 +0000
commitf562e65d5fbb4df858d8eef5cb32438d16bcd3ab (patch)
tree3012b4873bed1bc0f2060f3fbffeafe2fdab0546 /src/stack.c
parent04e09d4c564dc5efea47b60c24309617c9d961c8 (diff)
downloadmetacity-f562e65d5fbb4df858d8eef5cb32438d16bcd3ab.tar.gz
metacity-f562e65d5fbb4df858d8eef5cb32438d16bcd3ab.tar.bz2
add a "fullscreen" semantic type; if a window requests the screen size
2001-08-19 Havoc Pennington <hp@pobox.com> * src/window.c: add a "fullscreen" semantic type; if a window requests the screen size exactly, and is undecorated, and is not a desktop window, we consider it a fullscreen window and keep it on top. Totally untested.
Diffstat (limited to 'src/stack.c')
-rw-r--r--src/stack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stack.c b/src/stack.c
index 91e7e37..b0bd94d 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -262,6 +262,10 @@ compute_layer (MetaWindow *window)
window->layer = META_LAYER_DOCK;
break;
+ case META_WINDOW_FULLSCREEN:
+ window->layer = META_LAYER_FULLSCREEN;
+ break;
+
default:
window->layer = META_LAYER_NORMAL;
break;