summaryrefslogtreecommitdiff
path: root/src/meta
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2014-02-25 01:22:56 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-02-25 01:22:56 +0100
commit45624f2edfcac7a6a7816be99860d5c0a1f44d7b (patch)
treea003a32adca23604bdaf7483c568970eaf69b32e /src/meta
parent153f843ea68f5ec78274596da8f361f08cb9cafa (diff)
downloadmutter-45624f2edfcac7a6a7816be99860d5c0a1f44d7b.tar.gz
MetaWindowActor: survive having no MetaSurfaceActor
We need a MetaWaylandSurface to build a MetaSurfaceActor, but we don't have one until we get the set_window_xid() call from XWayland. On the other hand, plugins expect to see the window actor right from when the window is created, so we need this empty state. Based on a patch by Jasper St. Pierre.
Diffstat (limited to 'src/meta')
-rw-r--r--src/meta/compositor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meta/compositor.h b/src/meta/compositor.h
index d1be47e36..76ad10ba8 100644
--- a/src/meta/compositor.h
+++ b/src/meta/compositor.h
@@ -66,6 +66,8 @@ void meta_compositor_window_shape_changed (MetaCompositor *compositor,
MetaWindow *window);
void meta_compositor_window_opacity_changed (MetaCompositor *compositor,
MetaWindow *window);
+void meta_compositor_window_surface_changed (MetaCompositor *compositor,
+ MetaWindow *window);
gboolean meta_compositor_process_event (MetaCompositor *compositor,
XEvent *event,