Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmarcotte
Copy link

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