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/data-device.c b/src/data-device.c
index 5ef69d1..2af04de 100644
--- a/src/data-device.c
+++ b/src/data-device.c
@@ -218,7 +218,7 @@
fx = wl_fixed_to_double(touch->grab_x) + drag->dx;
fy = wl_fixed_to_double(touch->grab_y) + drag->dy;
}
- weston_view_configure(drag->icon, fx, fy, width, height);
+ weston_view_set_position(drag->icon, fx, fy);
}
static void