projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ba6127
)
wayland-surface: Set actor size on buffer attach
author
Robert Bragg
<robert@linux.intel.com>
Mon, 9 Jan 2012 19:03:59 +0000
(19:03 +0000)
committer
Neil Roberts
<neil@linux.intel.com>
Thu, 1 Mar 2012 11:41:51 +0000
(11:41 +0000)
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
patch
|
blob
|
history
diff --git
a/clutter/wayland/clutter-wayland-surface.c
b/clutter/wayland/clutter-wayland-surface.c
index
a9d297a
..
c368c1e
100644
(file)
--- 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 *