summaryrefslogtreecommitdiff
path: root/src/window.h
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/window.h
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/window.h')
-rw-r--r--src/window.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h
index a70649d..d3bbf9e 100644
--- a/src/window.h
+++ b/src/window.h
@@ -36,7 +36,8 @@ typedef enum
META_WINDOW_DIALOG,
META_WINDOW_MODAL_DIALOG,
META_WINDOW_TOOLBAR,
- META_WINDOW_MENU
+ META_WINDOW_MENU,
+ META_WINDOW_FULLSCREEN
} MetaWindowType;
struct _MetaWindow
@@ -116,7 +117,7 @@ struct _MetaWindow
guint delete_window : 1;
/* Globally active / No input */
guint input : 1;
-
+
/* MWM hints about features of window */
guint mwm_decorated : 1;
guint mwm_has_close_func : 1;