summaryrefslogtreecommitdiff
path: root/src/ui/frames.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-04-05 18:28:22 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-04-05 18:28:22 +0300
commit0de997727d3f90dae216c07a01d8d56a8a2f3fd2 (patch)
tree34ab325ec5bf9440c1518b01d3bffd997401251b /src/ui/frames.h
parent4f36eb12f9fef06dc44122d310cba0ce5c886ffa (diff)
downloadmetacity-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/ui/frames.h')
-rw-r--r--src/ui/frames.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ui/frames.h b/src/ui/frames.h
index dcce7a44..568a9643 100644
--- a/src/ui/frames.h
+++ b/src/ui/frames.h
@@ -146,12 +146,11 @@ cairo_region_t *meta_frames_get_frame_bounds (MetaFrames *frames,
int window_width,
int window_height);
-void meta_frames_get_corner_radiuses (MetaFrames *frames,
- Window xwindow,
- float *top_left,
- float *top_right,
- float *bottom_left,
- float *bottom_right);
+void meta_frames_get_mask (MetaFrames *frames,
+ Window xwindow,
+ guint width,
+ guint height,
+ cairo_t *cr);
void meta_frames_move_resize_frame (MetaFrames *frames,
Window xwindow,