replace range with horizontalRange and verticalRange

This commit is contained in:
elviosak 2025-11-29 08:01:46 -03:00
parent 35b3980a5b
commit f89c31c2de
5 changed files with 26 additions and 16 deletions

View file

@ -498,13 +498,15 @@ activated with SnapToEdge actions or, optionally, by dragging windows to the
edges of an output. Edge snapping causes a window to occupy half of its output,
extending outward from the snapped edge.
*<snapping><range>*++
*<snapping><horizontalRange>*++
*<snapping><verticalRange>*++
*<snapping><cornerRange>*
If an interactive move ends with the cursor within *<range>* pixels of an
output edge, the window is snapped to the edge. If it's also within
*<cornerRange>* pixels of an output corner, the window is snapped to the
corner instead. A *<range>* of 0 disables snapping.
Default is 10 for *<range>* and 50 for *<cornerRange>*.
If an interactive move ends with the cursor within *<horizontalRange>* pixels of
the left/right output edge, or *<verticalRange>* of the top/bottom output edge,
the window is snapped to the edge. If it's also within *<cornerRange>* pixels of
an output corner, the window is snapped to the corner instead.
If *<horizontalRange>* and *<verticalRange>* is 0, snapping is disabled.
Default is 10 for *<horizontalRange>* and *<verticalRange>*, and 50 for *<cornerRange>*.
*<snapping><overlay><enabled>* [yes|no]
Show an overlay when snapping to a window to an edge. Default is yes.