summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2003-01-05 07:51:02 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-01-05 07:51:02 +0000
commit6cfcc01334baa84204d00f9f8fb7cd97be05b403 (patch)
tree516b851c049c9793a0914701e6e32d9d3cfb28d7 /src/window.h
parentf8b2f6ca5cf8dbba02feacf5036c0ff46bbd027f (diff)
downloadmetacity-6cfcc01334baa84204d00f9f8fb7cd97be05b403.tar.gz
handle the client having a shape mask, fixes #101806
2003-01-05 Havoc Pennington <hp@pobox.com> * src/frames.c (meta_frames_apply_shapes): handle the client having a shape mask, fixes #101806 * src/core.c (meta_core_get_client_xwindow): new function * src/frame.c, src/frame.h: keep a flag for whether we need to update the frame shape * src/window.c (meta_window_new): select for ShapeNotify * src/display.h, src/display.c: actually query the shape extension, instead of just using it all over the place. * src/prefs.c (update_application_based): don't let people turn on application_based, as it just causes funky bugs. We can reenable the pref when/if it ever does something useful.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index c200c9c8..e8541f5c 100644
--- a/src/window.h
+++ b/src/window.h
@@ -219,6 +219,9 @@ struct _MetaWindow
guint using_net_wm_name : 1; /* vs. plain wm_name */
guint using_net_wm_icon_name : 1; /* vs. plain wm_icon_name */
+ /* has a shape mask */
+ guint has_shape : 1;
+
#ifdef HAVE_XSYNC
/* XSync update counter */
XSyncCounter update_counter;