Enable right-click-drag resizing from any corner or side#1
Open
dmarcotte wants to merge 1 commit into
Open
Conversation
reversefold
pushed a commit
to reversefold/afloat
that referenced
this pull request
Feb 11, 2015
Bump version to 2.4.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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...