I3: enhancement: Resize borderless windows by mouse

Created on 2 Aug 2015  ·  4Comments  ·  Source: i3/i3

Related to #1787.

i3 requires borders to resize by mouse.

This affects floating windows without borders and adjacent windows without borders.

Borderless windows would be much more useful if they could be resized somehow by mouse.

We could perhaps fix this by drawing an "invisible border" around the window which could be grabbed by the mouse. This would be less effective for tiling windows because it would require putting a gap between the windows.

I don't think it would be a good idea to make part of the actual client window grabbable by mouse.

Are there any clever solutions to this problem I might be missing?

discussion enhancement

Most helpful comment

Borderless windows would be much more useful if they could be resized somehow by mouse.

They can, that’s what the floating_modifier is for. E.g., use Mod4 + right-click to resize.

If you’re aware of this, why is it you say that borderless windows would be _much more useful_, if they could be resized by the mouse without using the floating_modifier?

All 4 comments

I think if you go for that solution you'll cause problems with window focus. The user will click "next" to the floating window in order to focus the window underneath that position, but it won't work because they will actually be clicking the invisible border.

We should maybe look into how other window managers tackle this problem.

Borderless windows would be much more useful if they could be resized somehow by mouse.

They can, that’s what the floating_modifier is for. E.g., use Mod4 + right-click to resize.

If you’re aware of this, why is it you say that borderless windows would be _much more useful_, if they could be resized by the mouse without using the floating_modifier?

So I'm going to close this for now because a) the proposed solution wouldn't work and b) we already have a solution for this. If Tony disagrees, he knows how to reopen. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

foxxx0 picture foxxx0  ·  5Comments

i3bot picture i3bot  ·  4Comments

rgaufman picture rgaufman  ·  4Comments

xor512 picture xor512  ·  3Comments

Airblader picture Airblader  ·  4Comments