[aseprite] 27/51: Activate app explicitly on OS X on debug mode

Tobias Hansen thansen at moszumanska.debian.org
Mon Jul 11 21:35:17 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 485649a2daf47858548d95f3040e34dde2e4488e
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Jul 1 11:21:40 2016 -0300

    Activate app explicitly on OS X on debug mode
---
 src/app/app.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/app/app.cpp b/src/app/app.cpp
index 4df0d7c..3deda9e 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -669,6 +669,12 @@ void App::run()
       she::instance()->activateApp();
 #endif
 
+#if _DEBUG
+    // On OS X, when we compile Aseprite on Debug mode, we're using it
+    // outside an app bundle, so we must active the app explicitly.
+    she::instance()->activateApp();
+#endif
+
 #ifdef ENABLE_UPDATER
     // Launch the thread to check for updates.
     app::CheckUpdateThreadLauncher checkUpdate(

-- 
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