diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-10-28 22:43:52 +0300 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-10-28 22:44:05 +0300 |
commit | 8dbce41706be1e4c50d6e0a24db511bdaa37e4f0 (patch) | |
tree | 20472bfe61f469d97e081b705d6cfd941bc46455 /intern | |
parent | 0151af505492c0f3e6957704739243075db9d3ef (diff) |
OSX/GHOST: fix T42305, appswitching not reliable, proposed by Fabio Arnold
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 9e47ea1d598..ab313b06f66 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -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 |