[aseprite] 60/64: Don't activate our app ignoring other apps on OS X
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 aa6040e2e4b6ca8a7328d708b7c4584e91295781
Author: David Capello <davidcapello at gmail.com>
Date: Tue Jun 7 10:23:45 2016 -0300
Don't activate our app ignoring other apps on OS X
---
src/she/osx/app.mm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/she/osx/app.mm b/src/she/osx/app.mm
index 801b0c9..87304ed 100644
--- a/src/she/osx/app.mm
+++ b/src/she/osx/app.mm
@@ -27,7 +27,13 @@ public:
[m_app setActivationPolicy:NSApplicationActivationPolicyRegular];
[m_app setDelegate:m_appDelegate];
- [m_app activateIgnoringOtherApps:YES];
+
+ // Don't activate the application ignoring other apps. This is
+ // called by OS X when the application is launched by the user
+ // from the application bundle. In this way, we can execute
+ // aseprite from the command line/bash scripts and the app will
+ // not be activated.
+ //[m_app activateIgnoringOtherApps:YES];
return true;
}
--
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