Commit Graph

729 Commits

Author SHA1 Message Date
Ari Vuollet 51feaa0730 Release mouse relative mode when focus changes during mouse tracking 2025-07-03 23:21:42 +03:00
Ari Vuollet 28980e5fbf Cleanup 2025-07-03 22:02:36 +03:00
Ari Vuollet aab0d772a4 Implement client-side window decorations for Editor windows 2025-07-03 22:02:36 +03:00
Ari Vuollet edeaf6af09 Fix compilation without SDL 2025-06-24 22:57:49 +03:00
Ari Vuollet 951edd95db Cleanup 2025-06-24 16:47:45 +03:00
Ari Vuollet 6d337464f7 Support XDG Desktop Portal as color picker provider
Wayland and XWayland fallback implementation uses XDP in
order to query picked color from desktop.
2025-06-24 16:41:32 +03:00
Ari Vuollet d0b552d74a Use logo as an icon in Linux windows 2025-06-23 18:58:02 +03:00
Ari Vuollet 83512822b1 Support clipboard actions in Content Browser and Scene tree on Wayland 2025-06-23 17:50:02 +03:00
Ari Vuollet ccb78103ec Support clipboard actions in Content Browser and Scene tree on X11 2025-06-23 17:07:10 +03:00
Ari Vuollet 6e79ffea34 Fix clipboard not working on X11 2025-06-23 17:07:10 +03:00
Ari Vuollet 6fb8419b3c Disable window flashing on Wayland to fix focus issues 2025-06-17 14:23:20 +03:00
Ari Vuollet 6ff260d052 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-16 14:09:29 +03:00
Ari Vuollet 29868531ad SDL workaround for window size and position not updating 2025-06-08 18:57:57 +03:00
Ari Vuollet 95dfb6fdc6 Reduce minimum default window size for CommandLineBox popup 2025-06-08 18:57:12 +03:00
Ari Vuollet 5e8fdf879d Fix logging in gamepad related events 2025-06-02 18:15:10 +03:00
Ari Vuollet 7c5628d47e Fix crash caused by conflicting tracy DbgHelp lock helper names 2025-05-02 14:20:18 +03:00
Ari Vuollet 834380ff05 Cleanup 2025-04-21 23:13:23 +03:00
Ari Vuollet dd65fc2289 Implement Wayland text clipboard data handling 2025-04-21 23:13:23 +03:00
Ari Vuollet 86b223ec93 Fix mouse relative mode activation triggering mouse move events on Mac 2025-04-21 23:13:23 +03:00
Ari Vuollet 78f6080321 Initial support for building and running SDL platform on macOS 2025-04-21 23:13:23 +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 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 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 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 68c0ac0ffc Fix cursor locking bounds calculation 2025-04-19 21:14:05 +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 bfa8188782 Fix accepting drag and drop for files in Wayland 2025-04-19 21:14:00 +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 4cd61cb381 Fix compilation for game builds
(cherry picked from commit f4fcc07288e85118dc48972249607e3fa47954eb)
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 55a0a39881 Cleanup Linux SDL implementation 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
GoaLitiuM aa328bd591 Fix window ShowInTaskbar setting 2025-04-19 21:13:48 +03:00
GoaLitiuM 188e4313f9 Fix various issues with child window positioning 2025-04-19 21:13:47 +03:00
Ari Vuollet df02c70e31 Add Window.IsAlwaysOnTop property 2025-04-19 21:13:47 +03:00