From d9903e20a770e024d88250b36424054b0bc43a38 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 24 Feb 2021 13:54:40 +0100 Subject: frames: Unused static functions 'get_client_region', 'get_frame_region' --- src/ui/frames.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui') 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, -- cgit v1.2.1