From 644f3e1275934e254f3037a5ea356af82c470dfa Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 25 Nov 2013 17:24:22 -0500 Subject: [PATCH] window: Make setters for shape/input/opaque regions private again Wayland now pushes these to the surface actor rather than the toplevel MetaWindow... --- src/core/window-private.h | 8 -------- src/core/window.c | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/core/window-private.h b/src/core/window-private.h index d67af673b..0f1630adb 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -713,16 +713,8 @@ void meta_window_compute_tile_match (MetaWindow *window); gboolean meta_window_updates_are_frozen (MetaWindow *window); -void meta_window_set_opaque_region (MetaWindow *window, - cairo_region_t *region); void meta_window_update_opaque_region_x11 (MetaWindow *window); - -void meta_window_set_input_region (MetaWindow *window, - cairo_region_t *region); void meta_window_update_input_region_x11 (MetaWindow *window); - -void meta_window_set_shape_region (MetaWindow *window, - cairo_region_t *region); void meta_window_update_shape_region_x11 (MetaWindow *window); void meta_window_set_title (MetaWindow *window, diff --git a/src/core/window.c b/src/core/window.c index 622168a36..d2c3ef73f 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -8004,7 +8004,7 @@ meta_window_update_net_wm_type (MetaWindow *window) meta_window_recalc_window_type (window); } -void +static void meta_window_set_opaque_region (MetaWindow *window, cairo_region_t *region) { @@ -8090,7 +8090,7 @@ region_create_from_x_rectangles (const XRectangle *rects, return cairo_region_create_rectangles (cairo_rects, n_rects); } -void +static void meta_window_set_input_region (MetaWindow *window, cairo_region_t *region) { @@ -8175,7 +8175,7 @@ meta_window_update_input_region_x11 (MetaWindow *window) cairo_region_destroy (region); } -void +static void meta_window_set_shape_region (MetaWindow *window, cairo_region_t *region) {