diff options
author | Derek Foreman <derek.foreman@collabora.com> | 2022-02-04 08:02:26 -0600 |
---|---|---|
committer | Derek Foreman <derek.foreman@collabora.com> | 2023-02-24 18:44:19 +0000 |
commit | 59a0bd99bd17753346600688e8423603ffd5987f (patch) | |
tree | 387acf396dd848fc30285ac6ee2616a50c0f4501 /tests | |
parent | 5e353d523ff77b3004cfe428bd1e0ba59e2c0bcc (diff) | |
download | weston-59a0bd99bd17753346600688e8423603ffd5987f.tar.gz |
libweston: Use weston_coord in surface committed handler
I also snuck in a trivial change to drag_surface_configure at the same
time to avoid yet another micro patch.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/weston-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/weston-test.c b/tests/weston-test.c index 2f7a2f8c..cc6ba433 100644 --- a/tests/weston-test.c +++ b/tests/weston-test.c @@ -152,7 +152,8 @@ notify_pointer_position(struct weston_test *test, struct wl_resource *resource) } static void -test_surface_committed(struct weston_surface *surface, int32_t sx, int32_t sy) +test_surface_committed(struct weston_surface *surface, + struct weston_coord_surface new_origin) { struct weston_test_surface *test_surface = surface->committed_private; struct weston_test *test = test_surface->test; |