diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 57f34959..17fc055b 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -155,6 +155,15 @@ Configuration must be wrapped in a root-node. any motion events while a keyboard is typing, and for a short while after as well. + +# 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. influences where the the screen's edge is at. + Default is 20 pixels. + # SEE ALSO labwc(1), labwc-actions(5), labwc-theme(5) diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 16e09032..092c0b22 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -144,4 +144,9 @@ + + + 20 + + diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 4ef53153..f9781f8b 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -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 {