mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Fix swaywm/sway#3545.
This commit is contained in:
		
							parent
							
								
									28f11aec31
								
							
						
					
					
						commit
						f24e17259e
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -490,6 +490,9 @@ bool seat_client_start_drag(struct wlr_seat_client *client,
 | 
			
		|||
	seat->drag = drag; // TODO: unset this thing somewhere
 | 
			
		||||
	seat->drag_serial = serial;
 | 
			
		||||
 | 
			
		||||
	if (seat->drag_source != NULL) {
 | 
			
		||||
		wl_list_remove(&seat->drag_source_destroy.link);
 | 
			
		||||
	}
 | 
			
		||||
	seat->drag_source = source;
 | 
			
		||||
	if (source != NULL) {
 | 
			
		||||
		seat->drag_source_destroy.notify = seat_handle_drag_source_destroy;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue