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

Use the middle mouse button as an alternative to the right mouse button when resizing. #3791

Closed
bencollerson opened this issue Sep 7, 2019 · 1 comment

Comments

@bencollerson
Copy link

I'm submitting a…

[ ] Bug
[x] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

Mod+right-mouse button click resizes windows

Desired Behavior

I use xinput to remap my middle and right click mouse buttons because I find having selection paste on a proper button more useful that clicking my scroll wheel. To allow i3 resizing to work with this I wrote a patch to make the middle mouse button have the same behaviour as the right mouse button:

bencollerson@2d6e963

This addressed my issue, but might be better solved by allowing mouse button behaviour to be configurable.

Environment

Output of i3 --moreversion 2>&-:

i3 version: 

$ i3 --moreversion 2>&-
Binary i3 version:  4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1 (2019-01-27) (pid 16879)bort…)
Loaded i3 config: /home/benc/.config/i3/config (Last modified: Sat 07 Sep 2019 16:10:19 AEST, 5726 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3

- Linux Distribution & Version:
Debian buster and debian sid.

- Are you using a compositor (e.g., xcompmgr or compton):
no
@bencollerson
Copy link
Author

I have run the test suite over my patch and it passed. Just checking if I can submit a pull request, or if I should make some more changes before doing doing so.

@orestisfl orestisfl closed this as not planned Won't fix, can't repro, duplicate, stale Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants