0
0
forked from blender/blender
blender/intern/ghost/intern
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
..
GHOST_Buttons.cpp Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_Buttons.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_C-api.cpp UI: add preference to disable touchpad multitouch gestures 2022-09-26 23:04:41 +02:00
GHOST_CallbackEventConsumer.cpp Cleanup: use booleans for GHOST C-API 2022-06-17 17:18:06 +10:00
GHOST_CallbackEventConsumer.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Context.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Context.h Fix memory leak with off-screen buffers under Wayland 2022-06-30 23:46:57 +10:00
GHOST_ContextCGL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextCGL.mm Fix T101298: Blender 3.3.1 crash on macOS due to merge error 2022-09-23 17:55:31 +02:00
GHOST_ContextD3D.cpp Merge branch 'blender-v3.1-release' 2022-02-17 15:39:31 +09:00
GHOST_ContextD3D.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextEGL.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_ContextEGL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextGLX.cpp Fix T101776: wrong logic for GLX setSwapInterval 2022-10-26 11:14:14 +02:00
GHOST_ContextGLX.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextNone.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextNone.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextSDL.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_ContextSDL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextWGL.cpp Cleanup: spelling, unbalanced doxy sections 2022-05-25 12:46:55 +10:00
GHOST_ContextWGL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Debug.h GHOST: only use GHOST_PRINT when WITH_GHOST_DEBUG is enabled 2022-06-28 10:16:28 +10:00
GHOST_DisplayManager.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_DisplayManager.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerCocoa.mm File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerNULL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerSDL.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_DisplayManagerSDL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerWin32.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerX11.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_DisplayManagerX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DropTargetWin32.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DropTargetWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DropTargetX11.cpp GHOST: use ELEM/ARRAY_SIZE/UNPACK macros to avoid repetition 2022-07-08 19:39:11 +10:00
GHOST_DropTargetX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Event.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventButton.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_EventCursor.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventDragnDrop.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventKey.h GHOST: remove redundant ascii argument to GHOST_EventKey 2022-07-14 21:54:28 +10:00
GHOST_EventManager.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventManager.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventNDOF.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventPrinter.cpp Cleanup: clang-tidy for GHOST 2022-06-17 17:15:06 +10:00
GHOST_EventPrinter.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventString.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventTrackpad.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventWheel.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_IconX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ImeWin32.cpp Fix D14173: Chinese IME Full Width Numbers 2022-03-19 09:05:10 -07:00
GHOST_ImeWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ISystem.cpp GHOST/Wayland: support dynamic loading libraries for Wayland 2022-07-06 15:30:47 +10:00
GHOST_ISystemPaths.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_IXrGraphicsBinding.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ModifierKeys.cpp Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_ModifierKeys.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_NDOFManager.cpp GHOST: use ELEM/ARRAY_SIZE/UNPACK macros to avoid repetition 2022-07-08 19:39:11 +10:00
GHOST_NDOFManager.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerCocoa.mm File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerUnix.cpp Cleanup: clang-tidy for GHOST 2022-06-17 17:15:06 +10:00
GHOST_NDOFManagerUnix.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerWin32.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Path-api.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_Rect.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_System.cpp UI: add preference to disable touchpad multitouch gestures 2022-09-26 23:04:41 +02:00
GHOST_System.h UI: add preference to disable touchpad multitouch gestures 2022-09-26 23:04:41 +02:00
GHOST_SystemCocoa.h Cleanup: use back-slash for doxygen commands, color after parameters 2022-03-02 12:11:08 +11:00
GHOST_SystemCocoa.mm Fix #112935: Wrong window order handling on macOS 14 2023-11-14 13:30:33 +01:00
GHOST_SystemNULL.h Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_SystemPaths.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsCocoa.mm File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsUnix.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_SystemPathsUnix.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsWin32.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemSDL.cpp GHOST: remove redundant ascii argument to GHOST_EventKey 2022-07-14 21:54:28 +10:00
GHOST_SystemSDL.h Cleanup: unused argument warnings 2022-05-27 14:51:48 +10:00
GHOST_SystemWayland.cpp Cleanup: spelling in comments 2022-07-26 13:21:21 +10:00
GHOST_SystemWayland.h Fix cursor display size with tablet input in GHOST/Wayland 2022-07-09 22:46:53 +10:00
GHOST_SystemWin32.cpp Fix T89399: Mouse wrapping causes erratic movement 2022-11-28 14:31:02 +01:00
GHOST_SystemWin32.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_SystemX11.cpp Cleanup: clang-tidy changes to GHOST_SystemX11 2022-07-14 21:55:46 +10:00
GHOST_SystemX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TaskbarWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TaskbarX11.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_TaskbarX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TimerManager.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TimerManager.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TimerTask.h Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_TrackpadWin32.cpp Cleanup: spelling in comments, use doxygen comments 2022-05-06 17:56:59 +10:00
GHOST_TrackpadWin32.h GHOST: Add support for precision touchpad gestures on Windows 2022-05-06 00:40:27 -07:00
GHOST_Util.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_utildefines_variadic.h GHOST: add GHOST_utildefines 2022-07-08 19:36:31 +10:00
GHOST_utildefines.h GHOST: add GHOST_utildefines 2022-07-08 19:36:31 +10:00
GHOST_WaylandCursorSettings.h GHOST/Wayland: Add a build time option for DBUS, disable by default 2022-06-27 16:49:21 +10:00
GHOST_WaylandUtils.h Cleanup: add C++ compatible WL_ARRAY_FOR_EACH macro 2022-06-24 10:22:46 +10:00
GHOST_Window.cpp GHOST: initialize grab axis for windows 2022-07-07 21:44:48 +10:00
GHOST_Window.h GHOST/Wayland: support displaying custom software cursors 2022-06-18 17:16:42 +10:00
GHOST_WindowCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_WindowCocoa.mm Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
GHOST_WindowManager.cpp Cleanup: remove unused GHOST function getAnyModifiedState. 2022-07-11 10:38:02 +10:00
GHOST_WindowManager.h Cleanup: remove unused GHOST function getAnyModifiedState. 2022-07-11 10:38:02 +10:00
GHOST_WindowNULL.h Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_WindowSDL.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_WindowSDL.h Cleanup: unused argument warnings 2022-05-27 14:51:48 +10:00
GHOST_WindowViewCocoa.h Cleanup: spelling, trailing space for comment-blocks 2022-03-31 13:01:41 +11:00
GHOST_WindowWayland.cpp GHOST/Wayland: add logging for listener handlers 2022-07-08 19:40:10 +10:00
GHOST_WindowWayland.h Fix crash with window decorations (libdecor) in Wayland 2022-07-01 22:50:58 +10:00
GHOST_WindowWin32.cpp Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
GHOST_WindowWin32.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_WindowX11.cpp Fix T91932: number sliders wrap around when dragged for long distance on X11 2022-07-21 19:02:03 +02:00
GHOST_WindowX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Wintab.cpp Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_Wintab.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_Xr_intern.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Xr_openxr_includes.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Xr.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrAction.cpp Fix T98944: Uninitialized XRFrameState can prevent VR/OpenXR viewing 2022-06-17 17:25:48 +09:00
GHOST_XrAction.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrContext.cpp XR: Use #ifdef for Vive Focus 3 extension 2022-02-23 06:56:08 +09:00
GHOST_XrContext.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrControllerModel.cpp Cleanup: use array syntax for sizeof, zero before float suffix 2022-03-25 12:04:19 +11:00
GHOST_XrControllerModel.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrEvent.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrException.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrGraphicsBinding.cpp Merge branch 'blender-v3.1-release' 2022-02-11 20:51:27 +09:00
GHOST_XrSession.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrSession.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrSwapchain.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrSwapchain.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00