Skip to content

resizemouse

Bakkeby edited this page Feb 27, 2024 · 1 revision
Function Expected argument Default keybinding
resizemouse N/A Super+Shift+right click

One of the basic features is being able to resize a floating window using the mouse.

If the window is floating then Super+right click and hold and drag can be used to resize the window. This is using the resizeorcfacts proxy function.

If the window is tiled then Super+Shift+right click and hold and drag to make the window snap out and become floating once the mouse cursor has moved 32 pixels. This is controlled by the snap setting in config.h.

Note that you do not actually need to keep holding down the modifier key while moving the window, just holding down the mouse button will do.

resizepoint.gif

This is similar to how spectrwm handles mouse resize.

Optionally the client being resized can have a different transparency level, controlled by the resizeopacity setting in config.h.

opacity.gif

As seen this can give a flickering effect and likely depends on the compositor, but no solution to this flickering has been found so far.

Saved float positions are ignored when forcing a tiled window to become floating by resizing it using the mouse.

If the AllowNoModifierButtons functionality is enabled then windows can also be resized using the mouse only if:

  • the mouse has the forward button (Button9) and
  • the client does not have the OnlyModButtons flag set

There are no external commands for this function.

Also see resizeorcfacts.

Back to Functions > Floating.

Clone this wiki locally