bbidulock / blackboxwm

A window manager for X11
Other
167 stars 28 forks source link

Feature request: Add configure option to use Mod4 (or whatever) instead of Mod1 for window moving and resizing #41

Open af7567 opened 2 years ago

af7567 commented 2 years ago

After a lot of Googling for how to use the Windows/Super key instead of Alt for moving windows around, I finally decided to check the source code and saw that Mod1 is hardcoded (at least I think it is): https://github.com/bbidulock/blackboxwm/blob/7d9bb9db18a940dc70ee0cc550c11931784b4271/src/Window.cc#L1862-L1872

It would be nice to be able to change that from some rc value like I have been able to in other window managers. I am also used to Win+middle button for resizing, so I guess being able to change the mouse button used in the above code using an rc file value would be good too :)