From f4f57ed21aa639e962fb3a28a63cc277e9f5c3ed Mon Sep 17 00:00:00 2001 From: Yevgeny Makarov Date: Mon, 27 Jan 2020 16:07:55 +0100 Subject: Fix part of T65404: quit dialog doesn't show if Blender is minimized This solves the problem for macOS and Linux, but not Windows yet. Differential Revision: https://developer.blender.org/D6673 --- intern/ghost/intern/GHOST_WindowCocoa.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 1d89da90a32..43e35faf808 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -799,6 +799,7 @@ GHOST_TSuccess GHOST_WindowCocoa::setOrder(GHOST_TWindowOrder order) GHOST_ASSERT(getValid(), "GHOST_WindowCocoa::setOrder(): window invalid"); if (order == GHOST_kWindowOrderTop) { + [NSApp activateIgnoringOtherApps:YES]; [m_window makeKeyAndOrderFront:nil]; } else { -- cgit v1.2.3