mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Improve expandibility
This commit is contained in:
		
							parent
							
								
									e1c8b3c641
								
							
						
					
					
						commit
						a24e17dea7
					
				
					 7 changed files with 67 additions and 57 deletions
				
			
		| 
						 | 
				
			
			@ -79,7 +79,10 @@ process_cursor_move(struct server *server, uint32_t time)
 | 
			
		|||
	struct view *view = server->grabbed_view;
 | 
			
		||||
 | 
			
		||||
	/* Move the grabbed view to the new position. */
 | 
			
		||||
	view_move(view, server->grab_box.x + dx, server->grab_box.y + dy);
 | 
			
		||||
	dx += server->grab_box.x;
 | 
			
		||||
	dy += server->grab_box.y;
 | 
			
		||||
	move_resistance(view, &dx, &dy, true);
 | 
			
		||||
	view_move(view, dx, dy);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue