]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-config(5): move <resistance> to before <focus>
authorJohan Malm <jgm323@gmail.com>
Tue, 31 May 2022 20:57:00 +0000 (21:57 +0100)
committerJohan Malm <jgm323@gmail.com>
Tue, 31 May 2022 20:57:00 +0000 (21:57 +0100)
...to make the config file flow better

docs/labwc-config.5.scd
docs/rc.xml.all

index 13e61ad1a7a2f80abe59822752035b4f910d4f49..077a07c796fd0c73cad4a67c4e24763905ce28dd 100644 (file)
@@ -35,6 +35,13 @@ Configuration must be wrapped in a <labwc_config> root-node.
        Preview the contents of the selected window when cycling between windows.
        Default is no.
 
+# 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. Default is 20 pixels.
+
 # FOCUS
 
 *<focus><followMouse>* [yes|no]
@@ -207,14 +214,6 @@ 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. Default is 20 pixels.
-
 # SEE ALSO
 
 labwc(1), labwc-actions(5), labwc-theme(5)
index 2fb314033e7950d7691a008acc12f59cf8c06172..663dd93a8a21865a0f798236335fb0d49425f045 100644 (file)
     <font place="OSD"><name>sans</name><size>10</size></font>
   </theme>
 
+  <!-- edge strength is in pixels -->
+  <resistance>
+    <screenEdgeStrength>20</screenEdgeStrength>
+  </resistance>
+
   <focus>
     <followMouse>no</followMouse>
     <raiseOnFocus>no</raiseOnFocus>
     </device>
   </libinput>
 
-  <!-- edge strength is in pixels -->
-  <resistance>
-    <screenEdgeStrength>20</screenEdgeStrength>
-  </resistance>
-
 </labwc_config>