Commit 1918f540 authored by Sam Lantinga's avatar Sam Lantinga

Actually set the cursor! :)

parent 642eea1e
...@@ -92,6 +92,9 @@ Cocoa_ShowCursor(SDL_Cursor * cursor) ...@@ -92,6 +92,9 @@ Cocoa_ShowCursor(SDL_Cursor * cursor)
if (SDL_GetMouseFocus()) { if (SDL_GetMouseFocus()) {
if (cursor) { if (cursor) {
NSCursor *nscursor = (NSCursor *)cursor->driverdata;
[nscursor set];
[NSCursor unhide]; [NSCursor unhide];
} else { } else {
[NSCursor hide]; [NSCursor hide];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment