OSX/GHOST: fix T42305, appswitching not reliable, proposed by Fabio Arnold
This commit is contained in:
parent
0151af5054
commit
8dbce41706
Notes:
blender-bot
2023-09-08 04:55:43 +02:00
Referenced by issue #42305, On OS X, when switching from another app to Blender via Mission Control, it doesn't work.
|
@ -86,6 +86,8 @@ enum {
|
|||
- (void)windowDidBecomeKey:(NSNotification *)notification
|
||||
{
|
||||
systemCocoa->handleWindowEvent(GHOST_kEventWindowActivate, associatedWindow);
|
||||
// work around for broken appswitching when combining cmd-tab and missioncontrol
|
||||
[(NSWindow*)associatedWindow->getOSWindow() orderFrontRegardless];
|
||||
}
|
||||
|
||||
- (void)windowDidResignKey:(NSNotification *)notification
|
||||
|
|
Loading…
Reference in New Issue