summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2007-11-23 00:05:11 +0000
committerIain Holmes <iain@src.gnome.org>2007-11-23 00:05:11 +0000
commitd0a245494ade7cf44a36bd4667ccda0806d171f2 (patch)
tree82839add153a55c1055b1e220e411e5d2a235a87
parent4d190f43f1a301a4e73c950b8b0b13a77a69f3c1 (diff)
downloadmetacity-d0a245494ade7cf44a36bd4667ccda0806d171f2.tar.gz
Add comment explaining the shaded_back_pixmap
svn path=/branches/iains-blingtastic-bucket-o-bling/; revision=3432
-rw-r--r--src/compositor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 6b72e608..3ca4ed88 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -98,6 +98,11 @@ typedef struct _MetaCompWindow
#ifdef HAVE_NAME_WINDOW_PIXMAP
Pixmap back_pixmap;
+
+ /* When the window is shaded back_pixmap will be replaced with the pixmap
+ for the shaded window. This is a copy of the original unshaded window
+ so that we can still see what the window looked like when it is needed
+ for the _get_window_pixmap function */
Pixmap shaded_back_pixmap;
#endif