mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
change to inner/outer range
This commit is contained in:
parent
f89c31c2de
commit
b2750027da
5 changed files with 54 additions and 27 deletions
|
|
@ -498,15 +498,16 @@ 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><horizontalRange>*++
|
||||
*<snapping><verticalRange>*++
|
||||
*<snapping><range><inner>*++
|
||||
*<snapping><range><outer>*++
|
||||
*<snapping><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>*.
|
||||
If an interactive move ends with the cursor within *inner* or *outer* pixels
|
||||
of an output edge, the window is snapped to the edge. *inner* edges are edges
|
||||
with an adjacent output and *outer* edges are edges without an adjacent output.
|
||||
If it's also within *<cornerRange>* pixels of an output corner, the window is
|
||||
snapped to the corner instead.
|
||||
If *inner* and *outer* is 0, snapping is disabled.
|
||||
Default is 10 for *<range><inner>* and *<range><outer>*, and 50 for *<cornerRange>*.
|
||||
|
||||
*<snapping><overlay><enabled>* [yes|no]
|
||||
Show an overlay when snapping to a window to an edge. Default is yes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue