[aseprite] 59/64: Don't show system cursor on OS X in the first mouseEntered

Tobias Hansen thansen at moszumanska.debian.org
Tue Jun 21 14:43:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 915fac0d239ae0013abddb0b91f197a25378b44d
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Jun 7 10:03:57 2016 -0300

    Don't show system cursor on OS X in the first mouseEntered
---
 src/she/osx/view.mm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/she/osx/view.mm b/src/she/osx/view.mm
index 42e103e..b291af1 100644
--- a/src/she/osx/view.mm
+++ b/src/she/osx/view.mm
@@ -91,7 +91,8 @@ bool is_key_pressed(KeyScancode scancode)
 
 - (id)initWithFrame:(NSRect)frameRect
 {
-  m_nsCursor = [NSCursor arrowCursor];
+  // We start without the system mouse cursor
+  m_nsCursor = nil;
   m_visibleMouse = true;
   m_pointerType = she::PointerType::Unknown;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list