Skip to content

Enable right-click-drag resizing from any corner or side#1

Open
dmarcotte wants to merge 1 commit into
millenomi:masterfrom
dmarcotte:enhanced-drag-resize
Open

Enable right-click-drag resizing from any corner or side#1
dmarcotte wants to merge 1 commit into
millenomi:masterfrom
dmarcotte:enhanced-drag-resize

Conversation

@dmarcotte

Copy link
Copy Markdown

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...

reversefold pushed a commit to reversefold/afloat that referenced this pull request Feb 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant