mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	labwc-config(5): move <resistance> to before <focus>
...to make the config file flow better
This commit is contained in:
		
							parent
							
								
									9b29bbeb54
								
							
						
					
					
						commit
						999fef6678
					
				
					 2 changed files with 12 additions and 13 deletions
				
			
		| 
						 | 
					@ -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.
 | 
						Preview the contents of the selected window when cycling between windows.
 | 
				
			||||||
	Default is no.
 | 
						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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*<focus><followMouse>* [yes|no]
 | 
					*<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
 | 
						any motion events while a keyboard is typing, and for a short while
 | 
				
			||||||
	after as well. 
 | 
						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
 | 
					# SEE ALSO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
labwc(1), labwc-actions(5), labwc-theme(5)
 | 
					labwc(1), labwc-actions(5), labwc-theme(5)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,6 +25,11 @@
 | 
				
			||||||
    <font place="OSD"><name>sans</name><size>10</size></font>
 | 
					    <font place="OSD"><name>sans</name><size>10</size></font>
 | 
				
			||||||
  </theme>
 | 
					  </theme>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <!-- edge strength is in pixels -->
 | 
				
			||||||
 | 
					  <resistance>
 | 
				
			||||||
 | 
					    <screenEdgeStrength>20</screenEdgeStrength>
 | 
				
			||||||
 | 
					  </resistance>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <focus>
 | 
					  <focus>
 | 
				
			||||||
    <followMouse>no</followMouse>
 | 
					    <followMouse>no</followMouse>
 | 
				
			||||||
    <raiseOnFocus>no</raiseOnFocus>
 | 
					    <raiseOnFocus>no</raiseOnFocus>
 | 
				
			||||||
| 
						 | 
					@ -290,9 +295,4 @@
 | 
				
			||||||
    </device>
 | 
					    </device>
 | 
				
			||||||
  </libinput>
 | 
					  </libinput>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- edge strength is in pixels -->
 | 
					 | 
				
			||||||
  <resistance>
 | 
					 | 
				
			||||||
    <screenEdgeStrength>20</screenEdgeStrength>
 | 
					 | 
				
			||||||
  </resistance>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</labwc_config>
 | 
					</labwc_config>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue