diff options
author | Victor Kareh <[email protected]> | 2019-05-23 11:40:28 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-16 18:12:44 +0200 |
commit | b6ec3af21d066d56ebf172b5720080bb79de651f (patch) | |
tree | 5bc2a9739526a99011c061298a3e9e1405893ae7 /src/core/window-private.h | |
parent | 79296f9d27cc4eb57a14dcf09bb93cc8571f93b4 (diff) | |
download | marco-b6ec3af21d066d56ebf172b5720080bb79de651f.tar.bz2 marco-b6ec3af21d066d56ebf172b5720080bb79de651f.tar.xz |
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
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r-- | src/core/window-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |