diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ui.h | 5 | ||||
-rw-r--r-- | src/include/window.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ui.h b/src/include/ui.h index 652e8cfc..40ae03cf 100644 --- a/src/include/ui.h +++ b/src/include/ui.h @@ -97,6 +97,11 @@ void meta_ui_apply_frame_shape (MetaUI *ui, int new_window_height, gboolean window_has_shape); +cairo_region_t *meta_ui_get_frame_bounds (MetaUI *ui, + Window xwindow, + int window_width, + int window_height); + void meta_ui_queue_frame_draw (MetaUI *ui, Window xwindow); diff --git a/src/include/window.h b/src/include/window.h index 3fd0ee53..0aa208e4 100644 --- a/src/include/window.h +++ b/src/include/window.h @@ -23,6 +23,7 @@ #define META_WINDOW_H #include <glib.h> +#include <cairo.h> #include <X11/Xlib.h> #include "boxes.h" @@ -37,5 +38,6 @@ MetaDisplay *meta_window_get_display (MetaWindow *window); Window meta_window_get_xwindow (MetaWindow *window); MetaWindow *meta_window_get_transient_for (MetaWindow *window); gboolean meta_window_is_maximized (MetaWindow *window); +cairo_region_t *meta_window_get_frame_bounds (MetaWindow *window); #endif |