Commit Graph

55 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 951edd95db Cleanup 2025-06-24 16:47:45 +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 29868531ad SDL workaround for window size and position not updating 2025-06-08 18:57:57 +03:00
Ari Vuollet 5e8fdf879d Fix logging in gamepad related events 2025-06-02 18:15:10 +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 35072c40d8 Fix build on Linux 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 35e09def1b Fix text input not working on X11 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 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
GoaLitiuM 257f54b323 Use SDL locale 2025-04-19 21:13:46 +03:00
GoaLitiuM 8cadbae80e Update SDL to 3.2.0 2025-04-19 21:13:44 +03:00
GoaLitiuM 5c9ddf7f00 Fix compilation 2025-04-19 21:13:42 +03:00
GoaLitiuM 431767a150 Update SDL3 2025-04-19 21:13:41 +03:00
GoaLitiuM 2f8d19c267 Fix windows not being hidden initially 2025-04-19 21:13:40 +03:00
GoaLitiuM f2fd98f742 Fix parent window position handling with popup/tooltip windows 2025-04-19 21:13:40 +03:00
GoaLitiuM fa976b34dc Fallback to X11 message box implementation when SDL fails 2025-04-19 21:13:38 +03:00
GoaLitiuM e7cda362b7 Fix popup and context menus not working on Wayland 2025-04-19 21:13:37 +03:00
GoaLitiuM a41a09c162 Hide warnings for unsupported SDL operations on Wayland 2025-04-19 21:13:37 +03:00
GoaLitiuM e82f84f0ab Log a warning for not implemented Wayland functionality 2025-04-19 21:13:36 +03:00