Enlarged OS X invisible cursor.

Fixes #206.
master
Camilla Berglund ago%!(EXTRA string=12 years)
parent 7e806a8567
commit 7341f8b635
  1. 3
      README.md
  2. 2
      src/cocoa_window.m

@ -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

@ -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];

Loading…
Cancel
Save