summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/frames.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 4b2d597d..d65dac82 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -1031,6 +1031,7 @@ get_visible_region (MetaFrames *frames,
return visible_region;
}
+#ifdef HAVE_SHAPE
static cairo_region_t *
get_client_region (MetaFrameGeometry *fgeom,
int window_width,
@@ -1059,6 +1060,7 @@ get_frame_region (int window_width,
return cairo_region_create_rectangle (&rect);
}
+#endif /* HAVE_SHAPE */
void
meta_frames_apply_shapes (MetaFrames *frames,