mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-10-29 05:40:19 -04:00 
			
		
		
		
	remove a redundant check
resize() now does the same check
This commit is contained in:
		
							parent
							
								
									54b546121b
								
							
						
					
					
						commit
						bbc00d88a4
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								dwl.c
									
										
									
									
									
								
							|  | @ -809,8 +809,7 @@ commitnotify(struct wl_listener *listener, void *data) | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if (client_surface(c)->mapped && c->mon) | 	resize(c, c->geom, (c->isfloating && !c->isfullscreen)); | ||||||
| 		resize(c, c->geom, (c->isfloating && !c->isfullscreen)); |  | ||||||
| 
 | 
 | ||||||
| 	/* mark a pending resize as completed */ | 	/* mark a pending resize as completed */ | ||||||
| 	if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) | 	if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Leonardo Hernández Hernández
						Leonardo Hernández Hernández