mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Style fixes
This commit is contained in:
		
							parent
							
								
									d06732e1a8
								
							
						
					
					
						commit
						c9935507f2
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -563,7 +563,6 @@ static bool cmd_resize(struct sway_config *config, int argc, char **argv) {
 | 
			
		|||
		arrange_windows(active_workspace, -1, -1);
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
	sway_log(L_INFO, "Done with resize");
 | 
			
		||||
	return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -378,14 +378,14 @@ void recursive_resize(swayc_t *container, double amount, enum movement_direction
 | 
			
		|||
		container->x += (int) amount;
 | 
			
		||||
		container->width += (int) amount;
 | 
			
		||||
		layout_match = container->layout == L_HORIZ;
 | 
			
		||||
	} else if(dir == MOVE_RIGHT) {
 | 
			
		||||
	} else if (dir == MOVE_RIGHT) {
 | 
			
		||||
		container->width += (int) amount;
 | 
			
		||||
		layout_match = container->layout == L_HORIZ;
 | 
			
		||||
	} else if(dir == MOVE_UP) {
 | 
			
		||||
	} else if (dir == MOVE_UP) {
 | 
			
		||||
		container->y += (int) amount;
 | 
			
		||||
		container->height += (int) amount;
 | 
			
		||||
		layout_match = container->layout == L_VERT;
 | 
			
		||||
	} else if(dir == MOVE_DOWN) {
 | 
			
		||||
	} else if (dir == MOVE_DOWN) {
 | 
			
		||||
		container->height += (int) amount;
 | 
			
		||||
		layout_match = container->layout == L_VERT;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue