mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	cursor: stop using set_image() in wlr_cursor_unset_image()
set_image() will go away.
This commit is contained in:
		
							parent
							
								
									bbd53b3b46
								
							
						
					
					
						commit
						bb91787b5f
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -428,8 +428,11 @@ void wlr_cursor_set_image(struct wlr_cursor *cur, const uint8_t *pixels,
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void cursor_update_outputs(struct wlr_cursor *cur);
 | 
			
		||||
 | 
			
		||||
void wlr_cursor_unset_image(struct wlr_cursor *cur) {
 | 
			
		||||
	wlr_cursor_set_image(cur, NULL, 0, 0, 0, 0, 0, 0);
 | 
			
		||||
	cursor_reset_image(cur);
 | 
			
		||||
	cursor_update_outputs(cur);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void output_cursor_set_xcursor_image(struct wlr_cursor_output_cursor *output_cursor, size_t i);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue