mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
config: increase default <snapping><range> to 10
...to make it easier to snap windows on the edge between two monitors. Fixes: #2602
This commit is contained in:
parent
ba81866268
commit
9ca0b111f4
3 changed files with 3 additions and 3 deletions
|
|
@ -409,7 +409,7 @@ extending outward from the snapped edge.
|
||||||
If an interactive move ends with the cursor a maximum distance *range*,
|
If an interactive move ends with the cursor a maximum distance *range*,
|
||||||
(in pixels) from the edge of an output, the move will trigger a
|
(in pixels) from the edge of an output, the move will trigger a
|
||||||
SnapToEdge action for that edge. A *range* of 0 disables snapping via
|
SnapToEdge action for that edge. A *range* of 0 disables snapping via
|
||||||
interactive moves. Default is 1.
|
interactive moves. Default is 10.
|
||||||
|
|
||||||
*<snapping><overlay><enabled>* [yes|no]
|
*<snapping><overlay><enabled>* [yes|no]
|
||||||
Show an overlay when snapping to a window to an edge. Default is yes.
|
Show an overlay when snapping to a window to an edge. Default is yes.
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@
|
||||||
|
|
||||||
<snapping>
|
<snapping>
|
||||||
<!-- Set range to 0 to disable window snapping completely -->
|
<!-- Set range to 0 to disable window snapping completely -->
|
||||||
<range>1</range>
|
<range>10</range>
|
||||||
<overlay enabled="yes">
|
<overlay enabled="yes">
|
||||||
<delay inner="500" outer="500" />
|
<delay inner="500" outer="500" />
|
||||||
</overlay>
|
</overlay>
|
||||||
|
|
|
||||||
|
|
@ -1486,7 +1486,7 @@ rcxml_init(void)
|
||||||
rc.unsnap_threshold = 20;
|
rc.unsnap_threshold = 20;
|
||||||
rc.unmaximize_threshold = 150;
|
rc.unmaximize_threshold = 150;
|
||||||
|
|
||||||
rc.snap_edge_range = 1;
|
rc.snap_edge_range = 10;
|
||||||
rc.snap_overlay_enabled = true;
|
rc.snap_overlay_enabled = true;
|
||||||
rc.snap_overlay_delay_inner = 500;
|
rc.snap_overlay_delay_inner = 500;
|
||||||
rc.snap_overlay_delay_outer = 500;
|
rc.snap_overlay_delay_outer = 500;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue