[clutter] wayland-surface: Set actor size on buffer attach
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] wayland-surface: Set actor size on buffer attach
- Date: Thu, 1 Mar 2012 11:48:09 +0000 (UTC)
commit 612bde3c4a00800c12fb20e287cb32eefed12ffd
Author: Robert Bragg <robert linux intel com>
Date: Mon Jan 9 19:03:59 2012 +0000
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>
clutter/wayland/clutter-wayland-surface.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/wayland/clutter-wayland-surface.c b/clutter/wayland/clutter-wayland-surface.c
index a9d297a..c368c1e 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]