[clutter/fosdem-2012] wayland-surface: Set actor size on buffer attach
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/fosdem-2012] wayland-surface: Set actor size on buffer attach
- Date: Mon, 9 Jan 2012 19:18:40 +0000 (UTC)
commit ceb9e3ad86bb7a35dde470710f77465b6df2403f
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()
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 abf7f29..639cf5a 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]