mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	cursor: Fix "jumping opposite edges" issue when resizing.
Commit ec68806354 ("xwayland: Honor size increments from
WM_SIZE_HINTS") adjusted only the window width/height according
to the size hints.  If resizing from the top or left edge of the
window, we also need to adjust the window position to keep the
bottom or right edge from jumping around.
			
			
This commit is contained in:
		
							parent
							
								
									ec68806354
								
							
						
					
					
						commit
						a50d27c770
					
				
					 5 changed files with 52 additions and 71 deletions
				
			
		| 
						 | 
				
			
			@ -417,7 +417,7 @@ void view_update_title(struct view *view);
 | 
			
		|||
void view_update_app_id(struct view *view);
 | 
			
		||||
 | 
			
		||||
void view_impl_map(struct view *view);
 | 
			
		||||
void view_min_size(struct view *view, int *w, int *h);
 | 
			
		||||
void view_adjust_size(struct view *view, int *w, int *h);
 | 
			
		||||
 | 
			
		||||
void foreign_toplevel_handle_create(struct view *view);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue