tornavis/intern
Sergey Sharybin b28bd7c5a4 Cocoa: Fix missing key window after closing "About"
The cause of this issue goes deeper inside of the custom nature of
the event loop. In short, when not using [NSApp run] closing "About"
window does not make previous key window a key again.

The solution is quite similar to other projects, but we only force
key window from handler when closing one appears to be "About" window.
In all other cases we leave it up to Blender's window manager to make
decision and do not interfere with it.

Test plan:
- Open Blender application
- Go to Blender -> About Blender menu item
- Close About window
- Note that Blender's window does not become active again.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4534
2019-03-17 13:24:38 +01:00
..
atomic doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
audaspace doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
clog Cleanup: GCC redundant declarations 2019-02-23 22:18:34 +11:00
cycles Merge branch 'blender2.7' 2019-03-17 12:54:19 +01:00
dualcon Cleanup: trailing commas 2019-02-03 14:59:11 +11:00
eigen Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00
elbeem doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
ffmpeg Cleanup: remove redundant, invalid info from headers 2019-02-02 02:40:00 +11:00
ghost Cocoa: Fix missing key window after closing "About" 2019-03-17 13:24:38 +01:00
glew-mx doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
guardedalloc doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
iksolver doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
itasc doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
libmv Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00
locale doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
memutil doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
mikktspace doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
numaapi Cleanup: add clarifying comments for recent NUMA fixes. 2019-01-21 10:54:19 +01:00
opencolorio Color management: Fix/workaround broken getDefaultDisplay() 2019-03-11 11:27:04 +01:00
opensubdiv Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00
openvdb Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00
rigidbody doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
smoke doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
string doxygen: add newline after \file 2019-02-18 08:22:12 +11:00
utfconv Cleanup: remove redundant, invalid info from headers 2019-02-02 02:40:00 +11:00
CMakeLists.txt Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00