Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2012-12-15 22:32:53 +0400
committerJens Verwiebe <info@jensverwiebe.de>2012-12-15 22:32:53 +0400
commitb0edc388562fd68bb1d6a556e6f48174ad237bc9 (patch)
treef35c82fa6649b503afe9ca5ef0e6f5d8050f5fb6 /intern
parentce08127caf5dc833fa9e106eeb4c33c91488b20d (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.mm2
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;
}
}