resistance: update documentation + default strength value

This commit is contained in:
ARDiDo 2021-10-25 17:04:22 -04:00 committed by Johan Malm
parent 91a9f1dec9
commit 9d37860a40
3 changed files with 15 additions and 1 deletions

View file

@ -155,6 +155,15 @@ Configuration must be wrapped in a <labwc_config> root-node.
any motion events while a keyboard is typing, and for a short while
after as well.
# RESISTANCE
*<resistance>screenEdgeStrength>*
Screen Edge Strength is how far past the screen's edge your cursor must
move before the window will move with it. Resistance is counted in
pixels. <core><gap> influences where the the screen's edge is at.
Default is 20 pixels.
# SEE ALSO
labwc(1), labwc-actions(5), labwc-theme(5)

View file

@ -144,4 +144,9 @@
</device>
</libinput>
<!-- edge strength is in pixels -->
<resistance>
<screenEdgeStrength>20</screenEdgeStrength>
</resistance>
</labwc_config>

View file

@ -419,7 +419,7 @@ rcxml_init()
rc.doubleclick_time = 500;
rc.repeat_rate = 25;
rc.repeat_delay = 600;
rc.screen_edge_strength = 0;
rc.screen_edge_strength = 20;
}
static struct {