1
0
Fork 0

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 <neil@linux.intel.com>
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Robert Bragg 2012-01-09 19:03:59 +00:00 committed by Neil Roberts
parent 0ba6127edc
commit 612bde3c4a

View file

@ -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 *