summaryrefslogtreecommitdiff
path: root/src/compositor/compositor-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor-private.h')
-rw-r--r--src/compositor/compositor-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index 61e7ffb0..1eef9633 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -44,8 +44,13 @@ struct _MetaCompositor
void (*process_event) (MetaCompositor *compositor,
XEvent *event,
MetaWindow *window);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ cairo_surface_t *(* get_window_surface) (MetaCompositor *compositor,
+ MetaWindow *window);
+#else
Pixmap (*get_window_pixmap) (MetaCompositor *compositor,
MetaWindow *window);
+#endif
void (*set_active_window) (MetaCompositor *compositor,
MetaScreen *screen,
MetaWindow *window);