Thanks for the great utility; it has played a hugely important role in helping me adjust to a Mac after years of Linux addiction.
I've been running with the enhancement in this pull request for a while to make Afloat click-anywhere resizing even more like most X-based window managers: depending on where your mouse is when you right-click, the drag-resize affects the logical side/corner of the window. I based this behavior on how the Alt-Click resizing works in XFCE, KDE and Gnome 2.
A bit more precisely: Imagine dividing the window into nine click "zones" by cutting the width into thirds and the height into thirds. Now, right-clicking the top-left "zone" will result in a resize which acts as if you had grabbed the top left corner of the window. Alternatively, if you right-click on the top-middle "zone", this results in a resize which acts as if you had grabbed the top edge of the window. That make sense? Probably easier to just play with it than try and unravel that explanation...
Thanks for the great utility; it has played a hugely important role in helping me adjust to a Mac after years of Linux addiction.
I've been running with the enhancement in this pull request for a while to make Afloat click-anywhere resizing even more like most X-based window managers: depending on where your mouse is when you right-click, the drag-resize affects the logical side/corner of the window. I based this behavior on how the Alt-Click resizing works in XFCE, KDE and Gnome 2.
A bit more precisely: Imagine dividing the window into nine click "zones" by cutting the width into thirds and the height into thirds. Now, right-clicking the top-left "zone" will result in a resize which acts as if you had grabbed the top left corner of the window. Alternatively, if you right-click on the top-middle "zone", this results in a resize which acts as if you had grabbed the top edge of the window. That make sense? Probably easier to just play with it than try and unravel that explanation...