[aseprite] 193/250: Fix crash when window title is changed on OS X and fullscreen is enabled (fix #833)
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:30 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 6e15553c881beefe1c7f460b2b2a52a292f178b0
Author: David Capello <davidcapello at gmail.com>
Date: Mon Oct 19 09:26:29 2015 -0300
Fix crash when window title is changed on OS X and fullscreen is enabled (fix #833)
---
src/allegro/src/macosx/system.m | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/allegro/src/macosx/system.m b/src/allegro/src/macosx/system.m
index ccd3303..df50d2a 100644
--- a/src/allegro/src/macosx/system.m
+++ b/src/allegro/src/macosx/system.m
@@ -610,8 +610,9 @@ static void osx_sys_set_window_title(AL_CONST char *title)
NSString *ns_title = [NSString stringWithUTF8String: tmp];
- if (osx_window)
- [osx_window setTitle: ns_title];
+ if (osx_window) {
+ [osx_window performSelectorOnMainThread:@selector(setTitle:) withObject:ns_title waitUntilDone: NO];
+ }
}
--
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