macOS: fix panic during drag_window

Return error from it instead of unwrapping.
This commit is contained in:
Shane Celis
2024-10-22 07:00:53 -04:00
committed by Kirill Chibisov
parent 107bf91a2d
commit 485ae90aae
3 changed files with 373 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ changelog entry.
### Fixed
- On macOS, fix `WindowEvent::Moved` sometimes being triggered unnecessarily on resize.
- On MacOS, package manifest definitions of `LSUIElement` will no longer be overridden with the
- On macOS, package manifest definitions of `LSUIElement` will no longer be overridden with the
default activation policy, unless explicitly provided during initialization.
- On macOS, fix crash when calling `drag_window()` without a left click present.
- On X11, key events forward to IME anyway, even when it's disabled.