From 38ea989eee6ed3606b12a396cabfb2c6a177daea Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Thu, 23 May 2019 11:40:28 -0400 Subject: MetaWindow: Repurpose get_outer_rect and add get_input_rect get_outer_rect now returns the visible region, and a new get_input_rect method returns the boundaries of the full frame, including the possible invisible regions. When undecorated, both do the samething. https://bugzilla.gnome.org/show_bug.cgi?id=644930 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/dfedc7df --- src/core/window-private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/window-private.h') diff --git a/src/core/window-private.h b/src/core/window-private.h index 50bc57be..ada9f8bb 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -542,6 +542,8 @@ void meta_window_get_geometry (MetaWindow *window, int *y, int *width, int *height); +void meta_window_get_input_rect (const MetaWindow *window, + MetaRectangle *rect); void meta_window_get_outer_rect (const MetaWindow *window, MetaRectangle *rect); void meta_window_get_xor_rect (MetaWindow *window, -- cgit v1.2.1