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:
parent
0ba6127edc
commit
612bde3c4a
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user