summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-24 13:54:40 +0100
committerraveit65 <[email protected]>2021-03-13 20:37:35 +0100
commitd9903e20a770e024d88250b36424054b0bc43a38 (patch)
treecb6c1808823d1244bace1309e89641267d1b35a3 /src
parentad411725cc733fbcba106d53356e0035573e6cb2 (diff)
downloadmarco-d9903e20a770e024d88250b36424054b0bc43a38.tar.bz2
marco-d9903e20a770e024d88250b36424054b0bc43a38.tar.xz
frames: Unused static functions 'get_client_region', 'get_frame_region'
Diffstat (limited to 'src')
-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,