mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
replace range with horizontalRange and verticalRange
This commit is contained in:
parent
35b3980a5b
commit
f89c31c2de
5 changed files with 26 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -162,7 +162,8 @@
|
|||
|
||||
<snapping>
|
||||
<!-- Set range to 0 to disable window snapping completely -->
|
||||
<range>10</range>
|
||||
<horizontalRange>10</horizontalRange>
|
||||
<verticalRange>10</verticalRange>
|
||||
<cornerRange>50</cornerRange>
|
||||
<overlay enabled="yes">
|
||||
<delay inner="500" outer="500" />
|
||||
|
|
@ -586,7 +587,7 @@
|
|||
- sendEventsMode [yes|no|disabledOnExternalMouse]
|
||||
- calibrationMatrix [six float values split by space]
|
||||
- scrollFactor [float]
|
||||
|
||||
|
||||
The following <libinput>...</libinput> block may not be complete for
|
||||
your requirements. Default values are device specific. Only set an option
|
||||
if you require to override the default. Valid values must be inserted.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue