diff options
author | monsta <[email protected]> | 2016-03-03 15:19:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-03-03 17:36:48 +0300 |
commit | 9212dacb2bfd5985d8426bf0bdb88f2aca03444e (patch) | |
tree | 9e3d84215d52bb348439aa2ea71ed9ad17004712 /src/compositor/compositor-private.h | |
parent | ee01366b6659c9f4238a9a89706aa2b78903ead8 (diff) | |
download | marco-9212dacb2bfd5985d8426bf0bdb88f2aca03444e.tar.bz2 marco-9212dacb2bfd5985d8426bf0bdb88f2aca03444e.tar.xz |
[GTK+3] re-add ability to show alt-tab thumbnails when compositor is on
adapted from:
https://git.gnome.org/browse/metacity/commit/?id=e6828a3ee2cab1ec1acbdd5a444dc1cb98215a75
https://git.gnome.org/browse/metacity/commit/?id=758902aef22629943738241cea1f597b6db4b18e
https://git.gnome.org/browse/metacity/commit/?id=c6ba6dc7f458720d9f8666881f45a830580468cb
https://git.gnome.org/browse/metacity/commit/?id=68bdf1ab9de815e07f5cd75b2e1fa24ba92ae319
https://git.gnome.org/browse/metacity/commit/?id=78bbf4423f72797a05bfaddd4121d70db30de9a3
Diffstat (limited to 'src/compositor/compositor-private.h')
-rw-r--r-- | src/compositor/compositor-private.h | 5 |
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); |