|  |  |  | @ -600,7 +600,8 @@ static void render_container_tabbed(struct sway_output *output, | 
			
		
	
		
			
				
					|  |  |  |  | 	struct sway_container_state *pstate = &con->current; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	double width_gap_adjustment = 2 * pstate->current_gaps; | 
			
		
	
		
			
				
					|  |  |  |  | 	int tab_width = (pstate->swayc_width - width_gap_adjustment) / pstate->children->length; | 
			
		
	
		
			
				
					|  |  |  |  | 	int tab_width = | 
			
		
	
		
			
				
					|  |  |  |  | 		(pstate->swayc_width - width_gap_adjustment) / pstate->children->length; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// Render tabs
 | 
			
		
	
		
			
				
					|  |  |  |  | 	for (int i = 0; i < pstate->children->length; ++i) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -629,7 +630,8 @@ static void render_container_tabbed(struct sway_output *output, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// Make last tab use the remaining width of the parent
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if (i == pstate->children->length - 1) { | 
			
		
	
		
			
				
					|  |  |  |  | 			tab_width = (pstate->swayc_width - width_gap_adjustment) - tab_width * i; | 
			
		
	
		
			
				
					|  |  |  |  | 			tab_width = | 
			
		
	
		
			
				
					|  |  |  |  | 				(pstate->swayc_width - width_gap_adjustment) - tab_width * i; | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width, | 
			
		
	
	
		
			
				
					|  |  |  | 
 |