mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Don't unhide cursor on touch events
Touch events hide the cursor so unhiding it again only causes it to flicker.
This commit is contained in:
		
							parent
							
								
									52bd6aecf2
								
							
						
					
					
						commit
						e5fed6b246
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -268,7 +268,7 @@ void cursor_handle_activity(struct sway_cursor *cursor,
 | 
			
		|||
			cursor->hide_source, cursor_get_timeout(cursor));
 | 
			
		||||
 | 
			
		||||
	seat_idle_notify_activity(cursor->seat, idle_source);
 | 
			
		||||
	if (cursor->hidden) {
 | 
			
		||||
	if (cursor->hidden && idle_source != IDLE_SOURCE_TOUCH) {
 | 
			
		||||
		cursor_unhide(cursor);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue