godot/platform/macos
Jiali Qiu 8bfe88fee8
Fix issue with moving maximized window in macOS
When opening the Godot editor and maximizing the window by double-clicking the
title bar, users are unable to drag the window with the mouse.

With this commit, `window_set_position` allows the maximized window to be moved
by dragging it. Only the fullscreen window won't be allowed to move.

Fixes #78758.

(cherry picked from commit d78cb43ec2)
2024-04-08 15:48:29 +02:00
..
doc_classes Validate `code` tags for class and member references 2023-10-03 15:48:31 +02:00
export Fix order of operations for macos template check 2023-12-07 10:27:06 +01:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
SCsub [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
crash_handler_macos.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
crash_handler_macos.mm Made signal handling more uniform. Fixes #82102 2023-09-22 20:06:58 -06:00
detect.py [macOS] Check Vulkan SDK version when looking for MoltenVK libs. 2024-03-11 00:11:29 +01:00
dir_access_macos.h Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
dir_access_macos.mm Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
display_server_macos.h [macOS] Fix transparent and borderless flags interaction with full-screen mode. 2023-11-14 08:36:32 +02:00
display_server_macos.mm Fix issue with moving maximized window in macOS 2024-04-08 15:48:29 +02:00
gl_manager_macos_angle.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_macos_angle.mm [macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native. 2023-12-07 10:27:09 +01:00
gl_manager_macos_legacy.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_macos_legacy.mm Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-10-08 17:23:33 +02:00
godot_application.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
godot_application.mm Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
godot_application_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_application_delegate.mm [macOS] Enabled secure restorable state. 2024-03-11 17:28:55 +01:00
godot_button_view.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_button_view.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_content_view.h [macOS] Fix live resize with the latest MoltenVK version. 2023-09-05 16:21:08 +03:00
godot_content_view.mm Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00
godot_main_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
godot_menu_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_menu_delegate.mm Don't use TTR/RTR for ERR/WARN prints 2023-11-12 12:00:55 +01:00
godot_menu_item.h [macOS] Add `about_to_open` and `popup_hide` callback for the global menus, move part of logic to the PopupMenu to allow live menu modification. 2023-10-04 09:49:51 +03:00
godot_menu_item.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window.mm [macOS] Fix IME focus in popup windows. 2023-06-09 08:03:13 +03:00
godot_window_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window_delegate.mm [macOS] Update window visible state on deminiaturize. 2024-03-11 17:28:55 +01:00
joypad_macos.cpp [macOS] Move `Wno-deprecated-declarations` to pragmas in the OpenGL related files, update some deprecated code. 2023-01-20 11:31:07 +02:00
joypad_macos.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
key_mapping_macos.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
key_mapping_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
macos_terminal_logger.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
macos_terminal_logger.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
os_macos.h [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
os_macos.mm [macOS] Allow `open_shell` to handle filenames without `file://`. 2024-03-11 17:28:55 +01:00
platform_config.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_macos_builders.py
tts_macos.h Windows TTS: Use HashMap instead of RBMap for ids 2023-04-11 15:54:21 +02:00
tts_macos.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
vulkan_context_macos.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
vulkan_context_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00

README.md

macOS platform port

This folder contains the C++, Objective-C and Objective-C++ code for the macOS platform port.

See also misc/dist/macos folder for additional files used by this platform. misc/dist/macos_tools.app is an .app bundle template used for packaging the macOS editor, while misc/dist/macos_template.app is used for packaging macOS export templates.

Documentation