tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
695 stars 66 forks source link

Merge position, size properties into rect #16

Closed tmandry closed 5 years ago

tmandry commented 6 years ago

The reasoning behind this is that there are system user interactions that modify the position and size at the same time. Namely, resizing a window by dragging the ~top-left~ bottom-left corner (or bottom-right, or top-left). Surfacing this in the Swindler API should make for smoother handing of these interactions.

tmandry commented 5 years ago

My original intent for this issue was to create a merged event as well, which I haven't done yet.