mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
This commit implements moving and resizing by mouse as it works in komorebi for Windows. We're able to make this a bit nicer here because macOS emits separate events for resizing and movement, so now we have MoveStart/MoveEnd and ResizeStart/ResizeEnd. Resizing is a little janky because the system does not update the position of resized windows quickly enough, so if you do a quick drag and release the left mouse button, sometimes the accessibility attributes for the size and position of that window won't have been updated, and no resize will take place.