mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: cancel drag on invalid serial
This commit is contained in:
		
							parent
							
								
									44ec3afb27
								
							
						
					
					
						commit
						ae2aeb65cc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -624,6 +624,7 @@ static void roots_seat_handle_request_start_drag(struct wl_listener *listener,
 | 
			
		|||
 | 
			
		||||
	wlr_log(WLR_DEBUG, "Ignoring start_drag request: "
 | 
			
		||||
		"could not validate pointer or touch serial %" PRIu32, event->serial);
 | 
			
		||||
	wlr_data_source_destroy(event->drag->source);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void roots_seat_handle_start_drag(struct wl_listener *listener,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue