summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-06-22 03:23:02 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-06-22 03:23:02 +0000
commitde42a62f4e076df117449c1b3eeac51d7e5571a9 (patch)
treed1770e967be1611940c3dbad371e88eb08d390ae /src/window.h
parent854e58fd82a9b2dc6295ccc0bcf6b3cf688cf78d (diff)
downloadmetacity-de42a62f4e076df117449c1b3eeac51d7e5571a9.tar.gz
metacity-de42a62f4e076df117449c1b3eeac51d7e5571a9.tar.bz2
Theme breakage! Themes have to implement "border" frames now, see Atlanta
2002-06-21 Havoc Pennington <hp@pobox.com> Theme breakage! Themes have to implement "border" frames now, see Atlanta for an example. Fixes #84285 * src/tools/metacity-window-demo.c (do_appwindow): add a border-only window * src/window.c (update_mwm_hints): read border only from the MWM hints * src/window.h (struct _MetaWindow): add border_only flag * src/core.c (meta_core_get_frame_type): report border type if required * src/common.h (enum): add META_FRAME_TYPE_BORDER
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index f5580ae..4794677 100644
--- a/src/window.h
+++ b/src/window.h
@@ -131,6 +131,7 @@ struct _MetaWindow
/* MWM hints about features of window */
guint mwm_decorated : 1;
+ guint mwm_border_only : 1;
guint mwm_has_close_func : 1;
guint mwm_has_minimize_func : 1;
guint mwm_has_maximize_func : 1;
@@ -139,6 +140,7 @@ struct _MetaWindow
/* Computed features of window */
guint decorated : 1;
+ guint border_only : 1;
guint always_sticky : 1;
guint has_close_func : 1;
guint has_minimize_func : 1;