diff options
Diffstat (limited to 'tests/cocoa/test_cursor.m')
| -rw-r--r-- | tests/cocoa/test_cursor.m | 2 |
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); |
