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

thansen pushed a commit to branch master
in repository aseprite.

commit a5a044f33377a70df6b90d852254a9078381a42a
Author: David Capello <[email protected]>
Date:   Mon Dec 28 18:33:57 2015 -0300

    Make main window key and order to front in Skia/OSX port
---
 src/she/osx/app.mm    | 1 +
 src/she/osx/window.mm | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/she/osx/app.mm b/src/she/osx/app.mm
index 5547979..2f537cf 100644
--- a/src/she/osx/app.mm
+++ b/src/she/osx/app.mm
@@ -38,6 +38,7 @@ int OSXApp::run(int argc, char* argv[])
 
   [app setActivationPolicy:NSApplicationActivationPolicyRegular];
   [app setDelegate:appDelegate];
+  [app activateIgnoringOtherApps:YES];
 
   app_main(argc, argv);
   return 0;
diff --git a/src/she/osx/window.mm b/src/she/osx/window.mm
index f856abe..9c4982d 100644
--- a/src/she/osx/window.mm
+++ b/src/she/osx/window.mm
@@ -49,6 +49,7 @@ using namespace she;
   [self setDelegate:m_delegate];
   [self setContentView:view];
   [self center];
+  [self makeKeyAndOrderFront:self];
 
   return self;
 }

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to