summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-22 11:12:24 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commitb925581e37b2ac2ffdb97469fbfb284aac93feab (patch)
tree0f6cbd63cb8c07feff5123ff2a362b865c96cdaf /src/include
parente8e9fca2142503b2bbbdb429f45742038e862413 (diff)
downloadmarco-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/include')
-rw-r--r--src/include/ui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/ui.h b/src/include/ui.h
index 40ae03cf..26d0d462 100644
--- a/src/include/ui.h
+++ b/src/include/ui.h
@@ -102,6 +102,13 @@ cairo_region_t *meta_ui_get_frame_bounds (MetaUI *ui,
int window_width,
int window_height);
+void meta_ui_get_corner_radiuses (MetaUI *ui,
+ Window xwindow,
+ float *top_left,
+ float *top_right,
+ float *bottom_left,
+ float *bottom_right);
+
void meta_ui_queue_frame_draw (MetaUI *ui,
Window xwindow);
@@ -111,6 +118,7 @@ void meta_ui_set_frame_title (MetaUI *ui,
void meta_ui_update_frame_style (MetaUI *ui,
Window window);
+
void meta_ui_repaint_frame (MetaUI *ui,
Window xwindow);