summaryrefslogtreecommitdiff
path: root/tests/cocoa/test_tablet.m
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cocoa/test_tablet.m')
-rw-r--r--tests/cocoa/test_tablet.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cocoa/test_tablet.m b/tests/cocoa/test_tablet.m
index f1489a1..ed6dc64 100644
--- a/tests/cocoa/test_tablet.m
+++ b/tests/cocoa/test_tablet.m
@@ -49,7 +49,7 @@ int main(void)
@autoreleasepool {
struct yasl_display *display = yasl_display_open(NULL, NULL);
assert(display && (yasl_display_caps(display) & YASL_CAP_TABLET));
- struct yasl_surface_spec spec = {.title = "Tablet test", .size = {320, 240}};
+ struct yasl_window_spec spec = {.title = "Tablet 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);