summaryrefslogtreecommitdiff
path: root/tests/cocoa/test_cursor.m
diff options
context:
space:
mode:
authorBerke Güzel <berke.guzel@gdh.digital>2026-10-14 09:38:31 +0300
committerBerke Güzel <berke.guzel@gdh.digital>2026-10-14 09:38:31 +0300
commit5ef6ca21ab9e1cf4f69254234d190a634b777d52 (patch)
tree974d3797a6d9487e54a811e224bf78a3f52dda85 /tests/cocoa/test_cursor.m
parent563b23a33726289387193b85d90fb569631ee05f (diff)
Remove deprecated Cocoa OpenGL and private compatibility APIs
Diffstat (limited to 'tests/cocoa/test_cursor.m')
-rw-r--r--tests/cocoa/test_cursor.m2
1 files changed, 1 insertions, 1 deletions
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);