diff options
author | Victor Kareh <[email protected]> | 2019-05-22 11:12:24 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-06-05 10:49:37 -0400 |
commit | b925581e37b2ac2ffdb97469fbfb284aac93feab (patch) | |
tree | 0f6cbd63cb8c07feff5123ff2a362b865c96cdaf /src/core/frame.c | |
parent | e8e9fca2142503b2bbbdb429f45742038e862413 (diff) | |
download | marco-b925581e37b2ac2ffdb97469fbfb284aac93feab.tar.bz2 marco-b925581e37b2ac2ffdb97469fbfb284aac93feab.tar.xz |
frame: Add "get_corner_radiuses" chain
https://bugzilla.gnome.org/show_bug.cgi?id=628195
upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/3994d7a0
Diffstat (limited to 'src/core/frame.c')
-rw-r--r-- | src/core/frame.c | 13 |
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, |