mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	[fix] cycle auto layouts backwards
This commit is contained in:
		
							parent
							
								
									4b1d9b058e
								
							
						
					
					
						commit
						15745abf0c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -110,7 +110,7 @@ struct cmd_results *cmd_layout(int argc, char **argv) {
 | 
			
		|||
				if (is_auto_layout(parent->layout) && parent->layout > L_AUTO_FIRST) {
 | 
			
		||||
					layout = parent->layout - 1;
 | 
			
		||||
				} else {
 | 
			
		||||
					layout = L_AUTO_FIRST;
 | 
			
		||||
					layout = L_AUTO_LAST;
 | 
			
		||||
				}
 | 
			
		||||
			} else {
 | 
			
		||||
				return cmd_results_new(CMD_FAILURE, "layout auto",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue