diff --git a/README.md b/README.md index fe1a1807..8ec710fb 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 81701941..44db9eb8 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -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];