From 5ef6ca21ab9e1cf4f69254234d190a634b777d52 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Wed, 14 Oct 2026 09:38:31 +0300 Subject: Remove deprecated Cocoa OpenGL and private compatibility APIs --- tests/cocoa/test_cursor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cocoa/test_cursor.m') diff --git a/tests/cocoa/test_cursor.m b/tests/cocoa/test_cursor.m index 4c961df..b50ab55 100644 --- a/tests/cocoa/test_cursor.m +++ b/tests/cocoa/test_cursor.m @@ -39,7 +39,7 @@ int main(void) assert([NSCursor currentCursor] == hidden); struct yasl_private_event event; bool moved = false; - while (yasl_private_surface_poll_event(surface, &event)) + while (yasl_private_display_poll_event(yasl_private_surface_display(surface), &event)) if (event.type == YASL_PRIVATE_EVENT_POINTER_MOTION) moved = true; assert(moved); -- cgit v1.2.3