Cocoa: Hide cursor instead of using blank image

When cursor isn't in normal mode and should be hidden, use [NSCursor hide]
method instead of setting it to blank image. This should prevent
situations when hidden cursor becomes visible after system notification
was shown.

Fixes #971.
Closes #1028.
This commit is contained in:
Sergey Tikhomirov
2017-06-05 00:26:55 +03:00
parent c23fca6343
commit 80e4922b5e
3 changed files with 23 additions and 19 deletions
-1
View File
@@ -102,7 +102,6 @@ typedef struct _GLFWlibraryNS
CGEventSourceRef eventSource;
id delegate;
id autoreleasePool;
id cursor;
TISInputSourceRef inputSource;
IOHIDManagerRef hidManager;
id unicodeData;