[aseprite] 48/128: Missing PointerType in regular mouse movement events on OS X
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:22 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 ac6d930d08eb73121429e04051e2ab042310338f
Author: David Capello <davidcapello at gmail.com>
Date: Thu Apr 21 13:40:18 2016 -0300
Missing PointerType in regular mouse movement events on OS X
---
src/she/osx/view.mm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/she/osx/view.mm b/src/she/osx/view.mm
index e51ac91..eff8056 100644
--- a/src/she/osx/view.mm
+++ b/src/she/osx/view.mm
@@ -236,6 +236,10 @@ bool is_key_pressed(KeyScancode scancode)
ev.setType(Event::MouseMove);
ev.setPosition(get_local_mouse_pos(self, event));
ev.setModifiers(get_modifiers_from_nsevent(event));
+
+ if (m_pointerType != she::PointerType::Unknown)
+ ev.setPointerType(m_pointerType);
+
queue_event(ev);
}
--
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