From 7341f8b63543bd982d32aa40859642424424c057 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 6 Jan 2014 15:34:49 +0100 Subject: [PATCH] Enlarged OS X invisible cursor. Fixes #206. --- README.md | 3 +++ src/cocoa_window.m | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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];