Comments (7)
Actually I was thinking about this back when integrating the DRAGMFACT patch, but didn't pursue it as it wasn't particularly important.
I think it might work if one were to use a different modifier, e.g. MOD+Shift, then right click and drag. As such it might be a good idea to implement the DRAGMFACT properly as well, rather than piggy-backing on the resizemouse functionality.
By default, if you hold MOD then right-click and start dragging then you can resize the currently selected tiled window (and thus make it floating). If you enable the DRAGMFACT patch then this resizing only works if the window is already floating, otherwise the mfact is dragged.
Also the patch is coded to only look for mouse movement along the x-axis. It would be prudent to also make it consider the y-axis so that it would be more intuitive with other layouts such as the bottom stack, as an example.
Could be an interesting small project.
from dwm-flexipatch.
I added my initial take on the dragcfact patch, think it works rather smoothly.
I'll still want to revamp the dragmfact at some point.
from dwm-flexipatch.
Implemented my ideas for dragmfact, this just feels so much better.
from dwm-flexipatch.
NB: Default shortcuts are now:
- mod+shift+rightclick and drag to change cfact
- mod+shift+leftclick and drag to change mfact
from dwm-flexipatch.
It's nice, although I'm not sure how much I like the need to press mod+shift to have this functionality, but I guess it serves its needs
from dwm-flexipatch.
As with most things it is just configuration. If you really wanted to you can just set the modifier to 0 and you can just click and drag to change mfact. I have tried this and can confirm that it works, just that you won't actually be able to click on windows - which might, just might, be an issue :)
from dwm-flexipatch.
Ok bro :) tyvm :)
from dwm-flexipatch.
Related Issues (20)
- Layout symbol block dimensions are disproportionate HOT 2
- Compile error with 6.5 HOT 2
- [Non Urgent] Can I use this project with an existing config? HOT 1
- Krita not regaining mouse focus when swapping tags
- Intrusive tag preview showing when swapping tags HOT 4
- [Feature] use only application icon as window title HOT 2
- smartgaps_fact on bar padding HOT 1
- Three-part extra status HOT 2
- Powerline for flexwintitle HOT 1
- Extrabar question HOT 7
- doesnt compile HOT 2
- dwm multimonitor crashing HOT 4
- cant click dwmblocks HOT 2
- dwm duplicating focus with SWITCHTAG_PATCH HOT 1
- What about dwl? HOT 5
- How to maintain scratpad position across monitors? HOT 4
- BAR_SYSTRAY_PATCH and XRDB_PATCH colour issue HOT 6
- NOBORDER patch behaves incorrectly when used with SWALLOW patch HOT 2
- Switch to the previous tag upon emptying the current tag?
- BAR_SYSTRAY_PATCH overlapping issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwm-flexipatch.