summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman@collabora.com>2022-02-04 08:02:26 -0600
committerDerek Foreman <derek.foreman@collabora.com>2023-02-24 18:44:19 +0000
commit59a0bd99bd17753346600688e8423603ffd5987f (patch)
tree387acf396dd848fc30285ac6ee2616a50c0f4501 /tests
parent5e353d523ff77b3004cfe428bd1e0ba59e2c0bcc (diff)
downloadweston-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.c3
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;