summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-18 16:26:07 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-20 19:35:04 +0200
commitdfedc7df1bf334b39b5f30693a941812c9c79df1 (patch)
treeff74dfa92cbf6ad964a51397f5d24a1c8ee8fbd3 /src/core/window-private.h
parent85e15225f8da0ee45e8118c4d551d3f985908ebf (diff)
downloadmetacity-dfedc7df1bf334b39b5f30693a941812c9c79df1.tar.gz
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
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index c76c09e2..aa12e3cc 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -523,6 +523,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,