Commit Graph

9939 Commits

Author SHA1 Message Date
Ari Vuollet 78f6080321 Initial support for building and running SDL platform on macOS 2025-04-21 23:13:23 +03:00
Ari Vuollet c7be6f6e0e Fix VC++ project file building on macOS Rider 2025-04-20 01:14:51 +03:00
Ari Vuollet c40c31fbb7 Reduce lock usage during window events 2025-04-19 21:14:13 +03:00
Ari Vuollet f5fbc1e32d Fix handling of WindowsManager locks 2025-04-19 21:14:13 +03:00
Ari Vuollet 0a20378acd Handle Wayland dragging actions ending prematurely 2025-04-19 21:14:12 +03:00
Ari Vuollet d4e87877b6 Fix editor viewport activating while dragging a window 2025-04-19 21:14:12 +03:00
Ari Vuollet 7eb7236b8a Fix occluded or hidden windows causing the engine to freeze on Wayland 2025-04-19 21:14:11 +03:00
Ari Vuollet dc0e4ffce2 Allow context menu to show when activating scene tree with right click 2025-04-19 21:14:11 +03:00
Ari Vuollet 86fe93943d Fix crash when relative mode was left active on removed window 2025-04-19 21:14:10 +03:00
Ari Vuollet 3258113ef8 Ensure mouse position is up-to-date during button down events 2025-04-19 21:14:10 +03:00
Ari Vuollet ebf3999cfe Fix rubber band selector activating outside of the viewport
This usually happens while trying to drag the window from window handle
2025-04-19 21:14:09 +03:00
Ari Vuollet a1ccbbb5b9 Use sensible window minimum size limits in editor windows 2025-04-19 21:14:09 +03:00
Ari Vuollet 35072c40d8 Fix build on Linux 2025-04-19 21:14:08 +03:00
Ari Vuollet 5c51021388 Fix merge 2025-04-19 21:14:08 +03:00
Ari Vuollet 95fd527515 Apply drag and drop styling on refactored WindowDragHelper
Reapplies changes from commit 38b00f458c
2025-04-19 21:14:07 +03:00
Ari Vuollet 113d851cea Fix cursor escaping constrained area when initially outside on Windows 2025-04-19 21:14:07 +03:00
Ari Vuollet 72f0c460f9 Refix dragged maximized window generating wrong mouse position events 2025-04-19 21:14:06 +03:00
Ari Vuollet 13ddd15b44 Focus viewports earlier to fix CursorLockMode not always activating 2025-04-19 21:14:06 +03:00
Ari Vuollet c9e24aaf5f Fix documentation generation 2025-04-19 21:14:05 +03:00
Ari Vuollet 68c0ac0ffc Fix cursor locking bounds calculation 2025-04-19 21:14:05 +03:00
Ari Vuollet bebda275a9 Fix crash when Game viewport was hidden 2025-04-19 21:14:04 +03:00
Ari Vuollet 287eaae850 Fix X11 external drag and drop not releasing consistently 2025-04-19 21:14:04 +03:00
Ari Vuollet 7e59c3b9a7 Fix restoring locked cursor state when window gains focus again 2025-04-19 21:14:03 +03:00
Ari Vuollet 38658a5b8c Fix CursorLockMode.Locked not working 2025-04-19 21:14:02 +03:00
Ari Vuollet 88c75b8672 Fix dragged maximized window generating wrong mouse position events 2025-04-19 21:14:02 +03:00
Ari Vuollet 17ab1e6830 Fix window handle clicking to not restore window from maximized state 2025-04-19 21:14:01 +03:00
Ari Vuollet 1f45110e5f Fix rubber band selector activating when using Alt-key to orbit 2025-04-19 21:14:01 +03:00
Ari Vuollet 5401166a07 Fix error when entering playmode while holding right mouse button 2025-04-19 21:14:00 +03:00
Ari Vuollet bfa8188782 Fix accepting drag and drop for files in Wayland 2025-04-19 21:14:00 +03:00
Ari Vuollet e777a71784 Fix error while dragging files around Content window 2025-04-19 21:13:59 +03:00
Ari Vuollet c13e91a0d0 Release rubber band selection when viewport starts controlling the view 2025-04-19 21:13:59 +03:00
Ari Vuollet aac5d57352 Update SDL to 3.2.10 2025-04-19 21:13:58 +03:00
Ari Vuollet ceca13c7b6 Avoid showing tooltips in inactive windows 2025-04-19 21:13:58 +03:00
Ari Vuollet 2905470330 Update SDL3 to 3.2.4 2025-04-19 21:13:57 +03:00
Ari Vuollet 2c17033822 Fix window dragging when not supported by Wayland compositor
(cherry picked from commit 3554747a6745ab8b5cfa3017dfb8ead80f6c924e)
2025-04-19 21:13:57 +03:00
Ari Vuollet 0a4cb9e9b1 Show current display server in Editor window tooltip
(cherry picked from commit 62968dd4376bb0a3c0aa09316174e0e00a9ea31b)
2025-04-19 21:13:56 +03:00
Ari Vuollet 096651f4c1 Properly mark floating windows with transparency support
(cherry picked from commit c660fac52446676ca1ff2aaa1332e7eae2ac5444)
2025-04-19 21:13:56 +03:00
Ari Vuollet 275a08506b Enable transparency support in Vulkan swapchains
(cherry picked from commit 431a69e35775b1664e146283934e1ce6147f8fc3)
2025-04-19 21:13:55 +03:00
Ari Vuollet 4cd61cb381 Fix compilation for game builds
(cherry picked from commit f4fcc07288e85118dc48972249607e3fa47954eb)
2025-04-19 21:13:54 +03:00
Ari Vuollet 9ad1147581 Fix cloning SDL repository 2025-04-19 21:13:54 +03:00
Ari Vuollet 35e09def1b Fix text input not working on X11 2025-04-19 21:13:53 +03:00
Ari Vuollet 0469607a71 Fix button latching on Windows after drag and drop operation 2025-04-19 21:13:53 +03:00
Ari Vuollet d115d22ee6 Implement new window dragging system 2025-04-19 21:13:52 +03:00
Ari Vuollet 8120ae621d Fix mouse resetting issues after ending relative mode 2025-04-19 21:13:52 +03:00
Ari Vuollet f873c2fa9f Fix frame stutter when window is focused 2025-04-19 21:13:51 +03:00
Ari Vuollet c3ffbe2f42 Fix error when docking to sides of tabbed panel 2025-04-19 21:13:51 +03:00
Ari Vuollet 55a0a39881 Cleanup Linux SDL implementation 2025-04-19 21:13:50 +03:00
Ari Vuollet 592215dd30 Support compiling third party library C files as C code 2025-04-19 21:13:50 +03:00
Ari Vuollet ef0c2a2785 Implement Wayland protocols module and file generation 2025-04-19 21:13:49 +03:00
Ari Vuollet 37979e452a Fix mouse warping after ending relative mode 2025-04-19 21:13:49 +03:00