Git Product home page Git Product logo

Comments (7)

bakkeby avatar bakkeby commented on August 25, 2024

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.

bakkeby avatar bakkeby commented on August 25, 2024

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.

bakkeby avatar bakkeby commented on August 25, 2024

Implemented my ideas for dragmfact, this just feels so much better.

from dwm-flexipatch.

bakkeby avatar bakkeby commented on August 25, 2024

NB: Default shortcuts are now:

  • mod+shift+rightclick and drag to change cfact
  • mod+shift+leftclick and drag to change mfact

from dwm-flexipatch.

kronikpillow avatar kronikpillow commented on August 25, 2024

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.

bakkeby avatar bakkeby commented on August 25, 2024

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.

kronikpillow avatar kronikpillow commented on August 25, 2024

Ok bro :) tyvm :)

from dwm-flexipatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.