[aseprite] 74/134: Generate kKeyDownMessage for Cmd key correctly
Tobias Hansen
thansen at moszumanska.debian.org
Sat Mar 14 17:10:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit badccf0847ce0682a5acd0c221ca00fb461ef7ec
Author: David Capello <davidcapello at gmail.com>
Date: Tue Nov 25 05:55:22 2014 -0300
Generate kKeyDownMessage for Cmd key correctly
---
src/ui/manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ui/manager.cpp b/src/ui/manager.cpp
index ad13712..efdb9c9 100644
--- a/src/ui/manager.cpp
+++ b/src/ui/manager.cpp
@@ -429,7 +429,7 @@ void Manager::generateKeyMessages()
enqueueMessage(msg);
}
// Generate kKeyDownMessage messages for modifiers
- else if (c >= kKeyFirstModifierScancode) {
+ else if (c >= kKeyFirstModifierScancode || c == kKeyCommand) {
// Press/release key interface
Message* msg = new KeyMessage(kKeyDownMessage,
scancode,
--
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