diff options
author | Victor Kareh <[email protected]> | 2019-05-22 11:12:24 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-16 18:12:44 +0200 |
commit | 1949834b11b508af71332ca92ddcce7a9733d1fd (patch) | |
tree | d5d84b1877e06b8daec8777fd2b36eeea4575ebd /src/ui/frames.h | |
parent | 5bef622c7857b7736e706a72619a03fdbe7fa7bb (diff) | |
download | marco-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/frames.h')
-rw-r--r-- | src/ui/frames.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/frames.h b/src/ui/frames.h index 0af5ed89..cde51e60 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -144,6 +144,14 @@ cairo_region_t *meta_frames_get_frame_bounds (MetaFrames *frames, Window xwindow, 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_move_resize_frame (MetaFrames *frames, Window xwindow, int x, |