diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2013-12-02 21:01:53 -0600 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-12-02 22:17:58 -0800 |
commit | 918f2dd4cfb8b177f67b45653efbbe4325cbe9dc (patch) | |
tree | 3bd3635fc459c545c5ee34adba64656c9bf743d5 /src/data-device.c | |
parent | fdca95c7db067132b5670cbaa56c4088c2be3f1f (diff) | |
download | weston-918f2dd4cfb8b177f67b45653efbbe4325cbe9dc.tar.gz |
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.
Diffstat (limited to 'src/data-device.c')
-rw-r--r-- | src/data-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data-device.c b/src/data-device.c index 5ef69d19..2af04de5 100644 --- a/src/data-device.c +++ b/src/data-device.c @@ -218,7 +218,7 @@ drag_surface_configure(struct weston_drag *drag, 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 |