mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-04 01:13:38 +00:00
Fix crash when window title is changed on OS X and fullscreen is enabled (fix #833)
This commit is contained in:
parent
ec5a6fc8b3
commit
6e15553c88
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user