Add resistance when dragging tiled windows

Adds a config option <snapping><dragResistance> with default value 20.
This prevents tiled/maximized windows from being unintentionally untiled.
This commit is contained in:
tokyo4j 2024-07-20 16:58:39 +09:00 committed by Consolatis
parent 750d37b16c
commit c202d77c2d
8 changed files with 82 additions and 4 deletions

View file

@ -347,6 +347,10 @@ extending outward from the snapped edge.
SnapToEdge action for that edge. A *range* of 0 disables snapping via
interactive moves. Default is 1.
*<snapping><dragResistance>*
Sets the movement of cursor in pixel required for a tiled or maximized
window to be moved with an interactive move. Default is 20.
*<snapping><overlay><enabled>* [yes|no]
Show an overlay when snapping to a window to an edge. Default is yes.