0
0
forked from blender/blender
blender/intern/ghost
Sergey Sharybin 9e09f60cf2 Fix #112935: Wrong window order handling on macOS 14
The issue was caused by the custom code which was ensuring that closing
About window does not leave application without any key
windows.

Turns out that the windowWillClose is executed when menu is closed,
forcing the custom code to ensure a key window.

The solution is to only perform manual re-ordering if the closing window
was a key window. This both keeps old behavior of ensuring there is a
key window after closing About, and solves the ordering issues when a
window is created or activated via menus.

Pull Request: blender/blender#113515
2023-11-14 13:30:33 +01:00
..
intern Fix #112935: Wrong window order handling on macOS 14 2023-11-14 13:30:33 +01:00
test WM: Remove ASCII members from wmEvent & GHOST_TEventKeyData 2022-07-14 15:59:19 +10:00
CMakeLists.txt GHOST/Wayland: add logging for listener handlers 2022-07-08 19:40:10 +10:00
GHOST_C-api.h UI: add preference to disable touchpad multitouch gestures 2022-09-26 23:04:41 +02:00
GHOST_IContext.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_IEvent.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_IEventConsumer.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ISystem.h UI: add preference to disable touchpad multitouch gestures 2022-09-26 23:04:41 +02:00
GHOST_ISystemPaths.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ITimerTask.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_IWindow.h GHOST/Wayland: support displaying custom software cursors 2022-06-18 17:16:42 +10:00
GHOST_IXrContext.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Path-api.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Rect.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_Types.h Cleanup: update & correct comments for event handling 2022-07-14 16:10:13 +10:00