summaryrefslogtreecommitdiff
path: root/tests/wayland/test_app_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wayland/test_app_input.c')
-rw-r--r--tests/wayland/test_app_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wayland/test_app_input.c b/tests/wayland/test_app_input.c
index 24b8b64..2cacb5e 100644
--- a/tests/wayland/test_app_input.c
+++ b/tests/wayland/test_app_input.c
@@ -1,7 +1,7 @@
/* An input event callback that destroys its own surface. The app runner
* must not touch the surface's entry after the callback, and must not
* deliver the surface's remaining input. Needs a Wayland compositor. */
-#include "wayland/internal.h"
+#include "platform/wayland/internal.h"
#include "yasl/app.h"
#include <assert.h>
@@ -25,7 +25,7 @@ static int on_init(void *ud, struct yasl_display *d)
{
(void)ud;
struct yasl_surface *s = yasl_surface_create_toplevel(d,
- &(struct yasl_surface_spec){ .title = "App Input Test", .size = {64, 64} });
+ &(struct yasl_window_spec){ .title = "App Input Test", .size = {64, 64} });
assert(s);
push_key(s);
push_key(s);