fix(wm): send manual move/resize end events on mouse release

The Acessibility API does not reliably fire AXWindowMoved and
AXWindowResized notifications after the mouse button is released,
causing drag-to-swap and drag-to-resize operations to fail.

This sends manual MoveEnd and ResizeEnd events from the input
event listener when LeftMouseUp is detected, ensuring these
operations complete reliably.

Resizing windows while dragging doesn't really work and has been noted
in the known-issues.md file.
This commit is contained in:
LGUG2Z committed 2025-12-31 18:41:44 -08:00
1 parent 05cd7832e8
commit 9b6b86cdea
3 files changed
+39 -6

No files matched your search

+1
View File
@@ -4,3 +4,4 @@
state (probably shouldn't)
* Application hiding isn't supported (and probably won't be) and breaks the
state (probably shouldn't)
* Resizing windows by dragging with animations on is a train wreck; don't do it