summaryrefslogtreecommitdiff
path: root/src/ui/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui.c')
-rw-r--r--src/ui/ui.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c
index bd753210..a7058066 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -452,6 +452,18 @@ meta_ui_apply_frame_shape (MetaUI *ui,
window_has_shape);
}
+cairo_region_t *
+meta_ui_get_frame_bounds (MetaUI *ui,
+ Window xwindow,
+ int window_width,
+ int window_height)
+{
+ return meta_frames_get_frame_bounds (ui->frames,
+ xwindow,
+ window_width,
+ window_height);
+}
+
void
meta_ui_queue_frame_draw (MetaUI *ui,
Window xwindow)