update comment about client_set_size() as no-op
This commit is contained in:
		
							
								
								
									
										2
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
									
									
									
									
								
							@@ -1875,7 +1875,7 @@ resize(Client *c, struct wlr_box geo, int interact)
 | 
			
		||||
	wlr_scene_node_set_position(&c->border[2]->node, 0, c->bw);
 | 
			
		||||
	wlr_scene_node_set_position(&c->border[3]->node, c->geom.width - c->bw, c->bw);
 | 
			
		||||
 | 
			
		||||
	/* wlroots makes this a no-op if size hasn't changed */
 | 
			
		||||
	/* this is a no-op if size hasn't changed */
 | 
			
		||||
	c->resize = client_set_size(c, c->geom.width - 2 * c->bw,
 | 
			
		||||
			c->geom.height - 2 * c->bw);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user