properly resize on configurex11
This commit is contained in:
		
				
					committed by
					
						
						Leonardo Hernández Hernández
					
				
			
			
				
	
			
			
			
						parent
						
							3a95d4ed03
						
					
				
				
					commit
					f7154d539d
				
			
							
								
								
									
										2
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
									
									
									
									
								
							@@ -2962,7 +2962,7 @@ configurex11(struct wl_listener *listener, void *data)
 | 
			
		||||
	}
 | 
			
		||||
	if (c->isfloating || client_is_unmanaged(c))
 | 
			
		||||
		resize(c, (struct wlr_box){.x = event->x, .y = event->y,
 | 
			
		||||
				.width = event->width, .height = event->height}, 0);
 | 
			
		||||
				.width = event->width + c->bw * 2, .height = event->height + c->bw * 2}, 0);
 | 
			
		||||
	else
 | 
			
		||||
		arrange(c->mon);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user