summaryrefslogtreecommitdiff
path: root/src/compositor
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-06-29 03:23:08 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-06-29 03:23:08 +0000
commitb3549979c6100d960c3fef6d50d001386b4f2b55 (patch)
tree4dbab7c0db225e84a1d7dd5dfada8056e16ac985 /src/compositor
parent6039694effc408f00fe580f4439aa79645dab147 (diff)
downloadmetacity-b3549979c6100d960c3fef6d50d001386b4f2b55.tar.gz
metacity-b3549979c6100d960c3fef6d50d001386b4f2b55.tar.bz2
add checks for HAVE_SHAPE where appropriate. fix type error which was
2008-06-28 Thomas Thurman <tthurman@gnome.org> * src/core/display.c, src/compositor/compositor-xrender.c: add checks for HAVE_SHAPE where appropriate. * src/core/xprops.c: fix type error which was causing warnings. svn path=/trunk/; revision=3772
Diffstat (limited to 'src/compositor')
-rw-r--r--src/compositor/compositor-xrender.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index b128daf..a85448d 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -2802,8 +2802,10 @@ xrender_process_event (MetaCompositor *compositor,
default:
if (event->type == meta_display_get_damage_event_base (xrc->display) + XDamageNotify)
process_damage (xrc, (XDamageNotifyEvent *) event);
+#ifdef HAVE_SHAPE
else if (event->type == meta_display_get_shape_event_base (xrc->display) + ShapeNotify)
process_shape (xrc, (XShapeEvent *) event);
+#endif /* HAVE_SHAPE */
else
{
meta_error_trap_pop (xrc->display, FALSE);