From 612bde3c4a00800c12fb20e287cb32eefed12ffd Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Mon, 9 Jan 2012 19:03:59 +0000 Subject: [PATCH] wayland-surface: Set actor size on buffer attach When a new buffer is attached and we update the width and height properties for the surface we now also call clutter_actor_set_size() Reviewed-by: Neil Roberts Reviewed-by: Emmanuele Bassi --- clutter/wayland/clutter-wayland-surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clutter/wayland/clutter-wayland-surface.c b/clutter/wayland/clutter-wayland-surface.c index a9d297ade..c368c1edf 100644 --- a/clutter/wayland/clutter-wayland-surface.c +++ b/clutter/wayland/clutter-wayland-surface.c @@ -211,6 +211,8 @@ set_size (ClutterWaylandSurface *self, priv->height = height; g_object_notify (G_OBJECT (self), "height"); } + + clutter_actor_set_size (CLUTTER_ACTOR (self), priv->width, priv->height); } struct wl_surface *