summaryrefslogtreecommitdiff
path: root/platform/macos/display_server_macos.mm
AgeCommit message (Collapse)Author
2023-01-13[macOS] Avoid color flash on window creation and resizing.bruvzg
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-29Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg
and positions.
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-11-30[macOS] Improve maximized and non-resizable modes handling.bruvzg
2022-11-28[macOS] Fix sub-windows opening in fullscreen.bruvzg
2022-11-21[macOS] Dynamically attach and detach transient windows to allow them to ↵bruvzg
stay on top of parent and can be moved to another screen.
2022-11-15Set vsync on window creation when using GLES3.clayjohn
Add vsync to Windows platform
2022-11-14[macOS] Add exclusive fullscreen mode with Dock and Menu disabled.bruvzg
2022-11-13Added missing null checks for gl_manager in MacOS and Windows display serversDavid Snopek
2022-11-11Fix unsent WINDOW_EVENT_MOUSE_ENTER event on mouse_mode-changeMarkus Sauermann
coauthor: @bruvzg On linuxbsd and macOS the WINDOW_EVENT_MOUSE_ENTER was not sent, when the mouse became visible again after a mouse_mode-change.
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-24Make window creation with custom position do not flashWei Guo
2022-10-18Update the DisplayServer video driver error messageclayjohn
to be more accurate and friendly
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-10[macOS] Fix window button position and title bar size when editor scale do ↵bruvzg
not match OS UI scale.
2022-10-03[macOS] Fix ⌘ + . + other modifier triggering twice.bruvzg
2022-09-24[macOS] Process menu callback after event processing step to avoid event ↵bruvzg
queue corruption.
2022-09-22[macOS extend-to-title] Add scene/project name to the editor title, fix ↵bruvzg
incorrect window button position/order when system primary language is RTL.
2022-09-21Merge pull request #65816 from bruvzg/proj_settings_missing_flagsRémi Verschelde
Add missing initial window flags and window mode to the project settings.
2022-09-21[macOS] Improve "extended to title" transition to / from fullscreen.bruvzg
2022-09-20[macOS] Add an option to align window buttons in "extend to title" mode.bruvzg
2022-09-19Add missing initial window flags and window mode to the project settings.bruvzg
2022-09-16Merge pull request #65496 from MinusKube/popup-capture-mouse-bugRémi Verschelde
Fix MOUSE_MODE_CAPTURED not working correctly with popups
2022-09-15[macOS] Remove tabs for "Quit" menu item.bruvzg
2022-09-14[macOS, 4.0] Fix unresponsive redraw during live resizing.bruvzg
2022-09-07Fix MOUSE_MODE_CAPTURED not working correctly with popupsMinusKube
2022-09-02Merge pull request #65026 from bruvzg/dark_modeRémi Verschelde
2022-09-01[macOS] Handle accelerator and click events of the global menu items separately.bruvzg
2022-08-31Add support for system dark mode and accent color detection (macOS and ↵bruvzg
Windows). Add support for dark mode title bar on Windows.
2022-08-26[macOS] Extend editor contents to the window titlebar for better space usage.bruvzg
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-08-06Only define `keep_screen_on` project setting onceRedMser
2022-08-05Implement `screen_is_kept_on` for macOS.bruvzg
2022-08-04Implement `screen_set_keep_on` for macOSbruvzg
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg