mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	remove unneeded changes in commitnotify()
This commit is contained in:
		
							parent
							
								
									017bb7d752
								
							
						
					
					
						commit
						30c24a53ad
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		
							
								
								
									
										7
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -729,14 +729,9 @@ commitnotify(struct wl_listener *listener, void *data)
 | 
				
			||||||
	struct wlr_box box = {0};
 | 
						struct wlr_box box = {0};
 | 
				
			||||||
	client_get_geometry(c, &box);
 | 
						client_get_geometry(c, &box);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (c->mon && !wlr_box_empty(&box) && (box.width != c->geom.width - 2 * c->bw
 | 
					 | 
				
			||||||
			|| box.height != c->geom.height - 2 * c->bw))
 | 
					 | 
				
			||||||
		arrange(c->mon);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* 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))
 | 
				
			||||||
			|| (c->surface.xdg->current.geometry.width == c->surface.xdg->pending.geometry.width
 | 
					 | 
				
			||||||
			&& c->surface.xdg->current.geometry.height == c->surface.xdg->pending.geometry.height)))
 | 
					 | 
				
			||||||
		c->resize = 0;
 | 
							c->resize = 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue