diff options
| author | Berke Güzel <berke.guzel@gdh.digital> | 2026-10-14 09:38:31 +0300 |
|---|---|---|
| committer | Berke Güzel <berke.guzel@gdh.digital> | 2026-10-14 09:38:31 +0300 |
| commit | 5ef6ca21ab9e1cf4f69254234d190a634b777d52 (patch) | |
| tree | 974d3797a6d9487e54a811e224bf78a3f52dda85 /tests/wayland/test_tablet.c | |
| parent | 563b23a33726289387193b85d90fb569631ee05f (diff) | |
Remove deprecated Cocoa OpenGL and private compatibility APIs
Diffstat (limited to 'tests/wayland/test_tablet.c')
| -rw-r--r-- | tests/wayland/test_tablet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/wayland/test_tablet.c b/tests/wayland/test_tablet.c index f47fbfa..0cce568 100644 --- a/tests/wayland/test_tablet.c +++ b/tests/wayland/test_tablet.c @@ -4,7 +4,7 @@ static struct yasl_private_event next_raw(struct wayland_surface *surface) { struct yasl_private_event event; - assert(yasl_private_surface_poll_event(&surface->base, &event)); + assert(input_queue_pop(&surface->input, &event)); assert(event.surface == &surface->base); return event; } @@ -111,9 +111,9 @@ int main(void) assert(ev.pointer.scroll_valid == 1); assert(ev.pointer.scroll_source == 1 && ev.pointer.scroll_phase == 0); struct yasl_private_event unused; - assert(!yasl_private_surface_poll_event(&surface.base, &unused)); + assert(!input_queue_pop(&surface.input, &unused)); pointer_frame(&seat, NULL); - assert(!yasl_private_surface_poll_event(&surface.base, &unused)); + assert(!input_queue_pop(&surface.input, &unused)); /* Finger scrolling carries pixel offsets and coherent gesture phases. */ pointer_axis_source(&seat, NULL, WL_POINTER_AXIS_SOURCE_FINGER); @@ -152,7 +152,7 @@ int main(void) pointer_axis_value120(&seat, NULL, WL_POINTER_AXIS_VERTICAL_SCROLL, 60); seat_pointer_reset(&seat); pointer_frame(&seat, NULL); - assert(!yasl_private_surface_poll_event(&surface.base, &unused)); + assert(!input_queue_pop(&surface.input, &unused)); input_queue_clear(&surface.input); return 0; } |
