summaryrefslogtreecommitdiff
path: root/src/ui/ui.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-22 11:12:24 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commit1949834b11b508af71332ca92ddcce7a9733d1fd (patch)
treed5d84b1877e06b8daec8777fd2b36eeea4575ebd /src/ui/ui.c
parent5bef622c7857b7736e706a72619a03fdbe7fa7bb (diff)
downloadmarco-1949834b11b508af71332ca92ddcce7a9733d1fd.tar.bz2
marco-1949834b11b508af71332ca92ddcce7a9733d1fd.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/ui/ui.c')
-rw-r--r--src/ui/ui.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 070bf127..0639757d 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -302,6 +302,19 @@ meta_ui_get_frame_borders (MetaUI *ui,
meta_frames_get_borders (ui->frames, frame_xwindow, borders);
}
+void
+meta_ui_get_corner_radiuses (MetaUI *ui,
+ Window xwindow,
+ float *top_left,
+ float *top_right,
+ float *bottom_left,
+ float *bottom_right)
+{
+ meta_frames_get_corner_radiuses (ui->frames, xwindow,
+ top_left, top_right,
+ bottom_left, bottom_right);
+}
+
static void
set_background_none (Display *xdisplay,
Window xwindow)