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-test.c b/tests/surface-test.c
index 4a8b2b2..80dce81 100644
--- a/tests/surface-test.c
+++ b/tests/surface-test.c
@@ -38,7 +38,9 @@
assert(surface);
view = weston_view_create(surface);
assert(view);
- weston_view_configure(view, 100, 100, 200, 200);
+ surface->width = 200;
+ surface->height = 200;
+ weston_view_set_position(view, 100, 100);
weston_view_update_transform(view);
weston_view_to_global_float(view, 20, 20, &x, &y);