diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2015-04-05 18:28:22 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2015-04-05 18:28:22 +0300 |
commit | 0de997727d3f90dae216c07a01d8d56a8a2f3fd2 (patch) | |
tree | 34ab325ec5bf9440c1518b01d3bffd997401251b /src/include | |
parent | 4f36eb12f9fef06dc44122d310cba0ce5c886ffa (diff) | |
download | metacity-0de997727d3f90dae216c07a01d8d56a8a2f3fd2.tar.gz |
let the ui layer (via the core) construct the frame mask
Based on mutter commit:
https://git.gnome.org/browse/mutter/commit/?id=c2a9ccb7e2e0f7dc37866099a5e5a4a5727c679b
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ui.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/ui.h b/src/include/ui.h index 74ed2c1e..4d031c1e 100644 --- a/src/include/ui.h +++ b/src/include/ui.h @@ -65,6 +65,13 @@ void meta_ui_theme_get_frame_borders (MetaUI *ui, void meta_ui_get_frame_borders (MetaUI *ui, Window frame_xwindow, MetaFrameBorders *borders); + +void meta_ui_get_frame_mask (MetaUI *ui, + Window frame_xwindow, + guint width, + guint height, + cairo_t *cr); + Window meta_ui_create_frame_window (MetaUI *ui, Display *xdisplay, Visual *xvisual, @@ -99,13 +106,6 @@ 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); |