diff options
author | Victor Kareh <[email protected]> | 2019-05-23 11:40:28 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-06-05 10:49:37 -0400 |
commit | 38ea989eee6ed3606b12a396cabfb2c6a177daea (patch) | |
tree | 1d358ecceb642742f371ea73fd2ff5964c15cce1 /src/core/window-private.h | |
parent | 6b735b9d98f82a1b62cd5183f10967cbc77fd016 (diff) | |
download | marco-38ea989eee6ed3606b12a396cabfb2c6a177daea.tar.bz2 marco-38ea989eee6ed3606b12a396cabfb2c6a177daea.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, |