summaryrefslogtreecommitdiff
path: root/src/core/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/frame.c')
-rw-r--r--src/core/frame.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/frame.c b/src/core/frame.c
index b6ed741e..a2da9cb9 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -338,6 +338,19 @@ update_shape (MetaFrame *frame)
return FALSE;
}
+void
+meta_frame_get_corner_radiuses (MetaFrame *frame,
+ float *top_left,
+ float *top_right,
+ float *bottom_left,
+ float *bottom_right)
+{
+ meta_ui_get_corner_radiuses (frame->window->screen->ui,
+ frame->xwindow,
+ top_left, top_right,
+ bottom_left, bottom_right);
+}
+
gboolean
meta_frame_sync_to_window (MetaFrame *frame,
int resize_gravity,