Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Customize mouse resize/move behaviour in modes #3315
I'm submitting a…
[ ] Bug [x] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
Mod + right mouse drag resizes, Mod + left mouse drag moves windows.
Allow changing this behaviour for modes. So in some modes, I should be able to disable this behaviour completely, while in other modes I could drop the requirement for Mod, or make left drag resize.
For example, I have a mode "resize", where I would like all mouse drags to resize the window (regardless of button, no Mod requirement). I also have a mode "move", where I would like all mouse drags to move floating windows (same, any button, no Mod). I also have a mode "Shortcuts off", which is, in its entirety:
For this mode, I would also like to disable mod + mouse behaviour.
My ideal solution would be to support extra commands to set the conditions under which mouse movement affects window positions and sizes. Something like
(with lack of any of those commands implying the defaults
It could also allow, e.g.
Binary i3 version: 4.15 (2018-03-10) © 2009 Michael Stapelberg and contributors Running i3 version: 4.15 (2018-03-10) (pid 2179)o abort…) Loaded i3 config: /home/soumya/.config/i3/config (Last modified: Sun 24 Jun 2018 19:24:57 PDT, 176347 seconds ago) The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3