Repository navigation
Add mouse button shortcuts for window actions - #1895
Merged
rxhanson merged 1 commit intoOct 12, 2026
Merged
Conversation
A window action's shortcut can now be a mouse button, such as the middle or side buttons, with or without modifier keys. It's recorded in the same field as a keyboard shortcut and saved like one, using key codes no key produces, so it fits the existing shortcut slot and config export. An assigned click goes only to Rectangle, and other buttons work as usual. Mouse shortcuts turn off whenever keyboard shortcuts do: in ignored apps, on a locked screen, and while recording. They act on the focused window, or on the window under the pointer with a new toggle in Behavior > Extras that is off by default. For that toggle, tiling, cycling, display moves and Todo now use the targeted window and leave focus alone, and Tile Active App and Cascade Active App gain crash guards. The Todo and window list recorders now pause shortcuts while recording, like the others.
Owner
|
Thanks, looks good at first glance. I'll be slowly but surely working through all of the pull requests and will hopefully get here soon! |
Contributor
Author
|
Thanks for merging! |
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.
Discussion: #1896
Picks up the mouse button idea from #1883 (comment).
What it does
Any window action's shortcut can now be a mouse button, such as the middle or side buttons, with or without modifier keys. Click the shortcut field and press the button, just like recording a key.
Notes
Testing