summaryrefslogtreecommitdiff
path: root/tests/x11/test_tablet.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/x11/test_tablet.c')
-rw-r--r--tests/x11/test_tablet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/x11/test_tablet.c b/tests/x11/test_tablet.c
index ba815cb..12c183e 100644
--- a/tests/x11/test_tablet.c
+++ b/tests/x11/test_tablet.c
@@ -1,5 +1,5 @@
/* Exercise native XI2 samples through the backend and public input queue. */
-#include "../../src/x11/window.c"
+#include "../../src/platform/x11/window.c"
static struct yasl_mouse_event next(struct x11_surface *surface)
{
@@ -113,8 +113,8 @@ static void test_x11_gaps(struct x11_display *d, struct x11_surface *s)
struct drag_test_recorder rec1 = {0};
struct drag_test_recorder rec2 = {0};
- struct yasl_surface_cbs cbs1 = {.drag = on_test_drag};
- struct yasl_surface_cbs cbs2 = {.drag = on_test_drag};
+ struct yasl_window_cbs cbs1 = {.drag = on_test_drag};
+ struct yasl_window_cbs cbs2 = {.drag = on_test_drag};
set_callbacks(&s->base, &cbs1, &rec1);
set_callbacks(&s2.base, &cbs2, &rec2);