Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Actually set the cursor! :)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 22, 2011
1 parent d4f2a3b commit defaea7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/cocoa/SDL_cocoamouse.m
Expand Up @@ -92,6 +92,9 @@

if (SDL_GetMouseFocus()) {
if (cursor) {
NSCursor *nscursor = (NSCursor *)cursor->driverdata;

[nscursor set];
[NSCursor unhide];
} else {
[NSCursor hide];
Expand Down

0 comments on commit defaea7

Please sign in to comment.