mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	cursor.c: Keep sending adjusted motion events while button is pressed
This allows to keep dragging a scrollbar or selecting text even when moving outside of the window. Fixes #241
This commit is contained in:
		
							parent
							
								
									067b0e8798
								
							
						
					
					
						commit
						befe66d93f
					
				
					 4 changed files with 34 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -85,6 +85,9 @@ handle_destroy(struct wl_listener *listener, void *data)
 | 
			
		|||
		wlr_foreign_toplevel_handle_v1_destroy(view->toplevel_handle);
 | 
			
		||||
	}
 | 
			
		||||
	interactive_end(view);
 | 
			
		||||
	if (view->server->seat.active_view == view) {
 | 
			
		||||
		view->server->seat.active_view = NULL;
 | 
			
		||||
	}
 | 
			
		||||
	wl_list_remove(&view->link);
 | 
			
		||||
	wl_list_remove(&view->destroy.link);
 | 
			
		||||
	if (view->scene_tree) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue