Lots of changes (see description)#21
Open
LlinksRechts wants to merge 11 commits intojakebian:masterfrom
Open
Conversation
to be able to handle differently sized monitors
with call to newer GLib method
...which ate key release events (apparently, this is intentional), see https://bugs.freedesktop.org/show_bug.cgi?id=99280
enable with the -f switch on double press on a single tile, greedily fills as many tiles as possible around this one without intersecting with other windows. windows which intersect with the given tile are excluded (or no results would be possible)
|
Thanks ! |
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.
This repository does not seem to be maintained any more. However, since I have been maintaining my own version of snaptile, I figured I'd open a PR for all my changes, in case anyone stumbles upon this and wants to use the fixes + features I have implemented, even if this PR is never merged.
After this short disclaimer, now for the content of this PR:
kill <pid>)Fill mode
This mode can be enabled with the
-fswitch; if enabled, double pressing the key for a single tile greedily fills as many tiles around this one as possible without overlapping other windows. Windows already intersecting the tile itself are ignored. For example, in the gridif
6contains another window and9is pressed twice, the window will span9to12. If 11 also contains another window, however,1to9will be chosen (since that spans 3 tiles, as opposed to only 2 for9to10).