mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	funnel all resizing through resize()
This commit is contained in:
		
							parent
							
								
									60c887f3c0
								
							
						
					
					
						commit
						073c35ae2f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -647,7 +647,7 @@ motionnotify(uint32_t time)
 | 
			
		|||
		 * compositor, you'd wait for the client to prepare a buffer at
 | 
			
		||||
		 * the new size, then commit any movement that was prepared.
 | 
			
		||||
		 */
 | 
			
		||||
		wlr_xdg_toplevel_set_size(grabc->xdg_surface,
 | 
			
		||||
		resize(grabc, grabc->x, grabc->y,
 | 
			
		||||
				cursor->x - grabc->x, cursor->y - grabc->y);
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue