mirror of
				https://codeberg.org/dwl/dwl-patches.git
				synced 2025-10-30 19:44:21 +00:00 
			
		
		
		
	Created page for toggle_constraings
							parent
							
								
									8d024a3efa
								
							
						
					
					
						commit
						b60ce525a5
					
				
							
								
								
									
										13
									
								
								toggle_constraints.md
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
								
									
										
										
									
									
								
							
						
						
									
										13
									
								
								toggle_constraints.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| ## Description | ||||
| Adds a function called togglepointerconstraints to turn pointer constraint enforcement on and off with a keybind.  | ||||
| 
 | ||||
| ## Usage | ||||
| Add a binding for the togglepointerconstraints function in the keys[] array of config.h. The function does not take any argument. Pointer constraints default to enabled, and can be toggled on and off with the function from there. | ||||
| 
 | ||||
| Example: | ||||
| ``` | ||||
| { MODKEY, XKB_KEY_c, togglepointerconstraints, {0}}, | ||||
| ``` | ||||
| 
 | ||||
| ## Download | ||||
| [Git](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints) | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 thanatos
						thanatos