mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
resistance: update documentation + default strength value
This commit is contained in:
parent
91a9f1dec9
commit
9d37860a40
3 changed files with 15 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -144,4 +144,9 @@
|
|||
</device>
|
||||
</libinput>
|
||||
|
||||
<!-- edge strength is in pixels -->
|
||||
<resistance>
|
||||
<screenEdgeStrength>20</screenEdgeStrength>
|
||||
</resistance>
|
||||
|
||||
</labwc_config>
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue