diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-12-15 22:32:53 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-12-15 22:32:53 +0400 |
commit | b0edc388562fd68bb1d6a556e6f48174ad237bc9 (patch) | |
tree | f35c82fa6649b503afe9ca5ef0e6f5d8050f5fb6 /intern | |
parent | ce08127caf5dc833fa9e106eeb4c33c91488b20d (diff) |
OSX: makeKeyAndOrderFront would show window from orderedWindows list on every loop, so use makeKeyWindow only to avoid flicker when closing app
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 792836b0a21..9f738c345f4 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -629,7 +629,7 @@ GHOST_WindowCocoa::~GHOST_WindowCocoa() NSArray *windowsList = [NSApp orderedWindows]; for (int a = 0; a < [windowsList count]; a++) { if (m_window != (CocoaWindow *)[windowsList objectAtIndex:a]) { - [[windowsList objectAtIndex:a] makeKeyAndOrderFront:nil]; + [[windowsList objectAtIndex:a] makeKeyWindow]; break; } } |