summaryrefslogtreecommitdiff
path: root/tests/wayland/test_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wayland/test_keyboard.c')
-rw-r--r--tests/wayland/test_keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wayland/test_keyboard.c b/tests/wayland/test_keyboard.c
index ae4647f..2f55cf6 100644
--- a/tests/wayland/test_keyboard.c
+++ b/tests/wayland/test_keyboard.c
@@ -4,7 +4,7 @@
static struct yasl_private_event next(struct wayland_surface *w, enum yasl_private_event_type type)
{
struct yasl_private_event ev;
- assert(yasl_private_surface_poll_event(&w->base, &ev));
+ assert(input_queue_pop(&w->input, &ev));
assert(ev.type == type && ev.surface == &w->base);
return ev;
}
@@ -12,7 +12,7 @@ static struct yasl_private_event next(struct wayland_surface *w, enum yasl_priva
static void empty(struct wayland_surface *w)
{
struct yasl_private_event ev;
- assert(!yasl_private_surface_poll_event(&w->base, &ev));
+ assert(!input_queue_pop(&w->input, &ev));
}
static void layout(struct seat *s, const char *name, const char *variant)