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

Right-Click-Resize not possible in layouts #113

Open
SHU-red opened this issue Sep 16, 2021 · 2 comments
Open

Right-Click-Resize not possible in layouts #113

SHU-red opened this issue Sep 16, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@SHU-red
Copy link

SHU-red commented Sep 16, 2021

Hello,
im super-new to awesomeWM and already use bling, because i love the centered-layout.

What i don't get to work is the function, which the standard-layouts support: Right-Click and hold on the Titlebar can then resize the windows by mouse draging

Maybe there is something that i dont get, but would be very nice to have this feature also in the bling layouts

@Nooo37 Nooo37 added the enhancement New feature or request label Sep 17, 2021
@Nooo37
Copy link
Member

Nooo37 commented Sep 17, 2021

That's actually not that small of a feature to implement. To make our layouts as reponsive as for example the default tile layout in awesome, we need to do two thing:

  1. We need to support "indivual client width factors" (the thing you set with awful.client.setwfact) which we currently don't (as you can see when you try that function on a client 1. on our layouts vs 2. on the awful.suit.tile layout). I didn't understand how those were handled back when I wrote the layouts that why they are missing.
  2. We would need to add a mouse_resize_handler to each layout which then runs a mouse grabber. That's probably a tedious but not necessarily hard task when one orientates on the already existing implementation.

You can also see that it's not that trivial by looking at the awful.layout.tile.spiral layout: That one doesn't implement those two either. Would be cool to have that support in bling layouts though

@SHU-red
Copy link
Author

SHU-red commented Sep 18, 2021

Ok understood!
This is not the end of the world but could be cool in certain situations!

I'm not able to do something like this by myself 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants