Enlarged OS X invisible cursor.

Fixes #206.
This commit is contained in:
Camilla Berglund 2014-01-06 15:34:49 +01:00
parent 7e806a8567
commit 7341f8b635
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,9 @@ guide in the GLFW documentation.
## Changelog
- [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen
recorders to fail
## Contact

View File

@ -427,7 +427,7 @@ static int translateKey(unsigned int key)
{
if (_glfw.ns.cursor == nil)
{
NSImage* data = [[NSImage alloc] initWithSize:NSMakeSize(1, 1)];
NSImage* data = [[NSImage alloc] initWithSize:NSMakeSize(16, 16)];
_glfw.ns.cursor = [[NSCursor alloc] initWithImage:data
hotSpot:NSZeroPoint];
[data release];