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/tests/surface-global-test.c b/tests/surface-global-test.c
index 788e694..b496635 100644
--- a/tests/surface-global-test.c
+++ b/tests/surface-global-test.c
@@ -38,7 +38,9 @@
assert(surface);
view = weston_view_create(surface);
assert(view);
- weston_view_configure(view, 5, 10, 50, 50);
+ surface->width = 50;
+ surface->height = 50;
+ weston_view_set_position(view, 5, 10);
weston_view_update_transform(view);
weston_view_to_global_float(view, 33, 22, &x, &y);