sway
sway copied to clipboard
Drag gaps to resize
Dragging gaps instead of borders should also resize windows.
@haselwarter What's the behavior of i3-gaps?
I think that would be a nice feature. Everyone is used to sliding the divider (eg in MS Windows, Android split screen, iPad split screen, Macbook split screen, ...) But we have a nice resizing feature with mod+Right mouse button already
@WuerfelDev
This fix would particularly improve sway usability on touch devices (tablets, convertibles) that make it difficult to hit that 1-2 pixel border, but would easily allow grabbing a 10 pixel gap.
The touch input use-case also rules out the workaround of mouse-resizing by entering resize mode and right-clicking; that's too inconvenient on a tablet.
@markstos Not sure, never used it. As far as I can tell i3-gaps is a fork of i3. In sway, gaps are a part of the core product, and as such I suspect they are widely used. This seems like an enhancement that could be widely beneficial, and it matches the user expectation that dragging the separator between windows should resize them.
Resizing by dragging the gap does sound very useful for a touch device and is how resizing works on both iOS and Android.
This would be useful not only for touchscreens but also for all the people using a laptop without a mouse (and without window borders). Personally I find it incredibly cumbersome to hold the bottom right part of the touchpad. Any alternative would be really useful, like maybe using two separate floating modifiers for dragging ($mod) and resizing (ctrl).
As kind of a workaround I'm currently just using bigger borders without a gap, but I'd much prefer the look if we could drag the gaps.
I'm coming from Gnome, so mod+right mouse dragging doesn't feel natural to me. I'll try to get used to it, but still, dragging the gaps would be very natural to many users I can imagine.
Perhaps this is not directly related, but I would really like to be able to drag with no border and no gaps (so the draggable area slightly overlaps the windows)
As kind of a workaround I'm currently just using bigger borders without a gap, but I'd much prefer the look if we could drag the gaps.
I'm coming from Gnome, so mod+right mouse dragging doesn't feel natural to me. I'll try to get used to it, but still, dragging the gaps would be very natural to many users I can imagine.
feeling the same, sometimes I don't want to use left hand to press mod
key to able to resize, just mouse with right hand, require left hand to invole gives some extra efforts more than usual.
As kind of a workaround I'm currently just using bigger borders without a gap, but I'd much prefer the look if we could drag the gaps. I'm coming from Gnome, so mod+right mouse dragging doesn't feel natural to me. I'll try to get used to it, but still, dragging the gaps would be very natural to many users I can imagine.
feeling the same, sometimes I don't want to use left hand to press
mod
key to able to resize, just mouse with right hand, require left hand to invole gives some extra efforts more than usual.
Is this not something that can be set in the configuration?