summaryrefslogtreecommitdiff
path: root/tests/cocoa/test_keyboard.m
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/cocoa/test_keyboard.m
parent87d0bc50d53dc216efb2b04495f090616318bc5c (diff)
rename and simplification
Diffstat (limited to 'tests/cocoa/test_keyboard.m')
-rw-r--r--tests/cocoa/test_keyboard.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cocoa/test_keyboard.m b/tests/cocoa/test_keyboard.m
index 4854065..d6a1336 100644
--- a/tests/cocoa/test_keyboard.m
+++ b/tests/cocoa/test_keyboard.m
@@ -50,7 +50,7 @@ int main(void)
@autoreleasepool {
struct yasl_display *display = yasl_display_open(NULL, NULL);
assert(display);
- struct yasl_surface_spec spec = {.title = "Keyboard test", .size = {320, 240}};
+ struct yasl_window_spec spec = {.title = "Keyboard test", .size = {320, 240}};
struct yasl_surface *surface = yasl_surface_create_toplevel(display, &spec);
assert(surface);
NSWindow *window = (NSWindow *)yasl_surface_get_native_handle(surface);