summaryrefslogtreecommitdiff
path: root/tests/x11/test_input.c
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-13 13:44:13 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-13 13:44:13 +0300
commitc059e3aa7f93da470f052a5cd8ee0d8dc969e679 (patch)
tree63ffa378287ed2c606eda2e940501b9edc3d2b8b /tests/x11/test_input.c
parent87d0bc50d53dc216efb2b04495f090616318bc5c (diff)
rename and simplification
Diffstat (limited to 'tests/x11/test_input.c')
-rw-r--r--tests/x11/test_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/x11/test_input.c b/tests/x11/test_input.c
index af45e76..80a6451 100644
--- a/tests/x11/test_input.c
+++ b/tests/x11/test_input.c
@@ -1,6 +1,6 @@
/* An isolated real X server supplies the keymap; disabling this surface's XIC
* deliberately exercises text insertion when no input method is available. */
-#include "../../src/x11/window.c"
+#include "../../src/platform/x11/window.c"
static void check_selection_encoding(struct x11_display *d, struct x11_surface *s)
{
@@ -71,7 +71,7 @@ int main(void)
struct yasl_display *base = yasl_display_open(NULL, &ds);
assert(base);
struct x11_display *d = (struct x11_display *)base;
- struct yasl_surface_spec spec = {.title = "Keyboard fallback", .size = {100, 100}};
+ struct yasl_window_spec spec = {.title = "Keyboard fallback", .size = {100, 100}};
struct yasl_surface *surface = yasl_surface_create_toplevel(base, &spec);
assert(surface);
struct x11_surface *s = (struct x11_surface *)surface;