Remove the weston_view.geometry.width/height fields
This has a couple of additional implications for the internal weston API:
1) weston_view_configure no longer exists. Use weston_view_set_position
instead.
2) The weston_surface.configure callback no longer takes a width and
height. If you need these, surface.width/height are set before
configure is called. If you need to know when the width/height
changes, you must track that yourself.
diff --git a/src/animation.c b/src/animation.c
index f717b33..ee12036 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -240,12 +240,12 @@
animation->spring.current;
weston_matrix_init(&animation->transform.matrix);
weston_matrix_translate(&animation->transform.matrix,
- -0.5f * es->geometry.width,
- -0.5f * es->geometry.height, 0);
+ -0.5f * es->surface->width,
+ -0.5f * es->surface->height, 0);
weston_matrix_scale(&animation->transform.matrix, scale, scale, scale);
weston_matrix_translate(&animation->transform.matrix,
- 0.5f * es->geometry.width,
- 0.5f * es->geometry.height, 0);
+ 0.5f * es->surface->width,
+ 0.5f * es->surface->height, 0);
es->alpha = animation->spring.current;
if (es->alpha > 1.0)