mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-10-29 05:40:16 -04:00 
			
		
		
		
	cursor: add wl_cursor_frame_and_duration
It's useful to know how long the current cursor frame should be displayed so we can wait that long to change it. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
		
							parent
							
								
									8b2fbf8722
								
							
						
					
					
						commit
						4908bf0d0f
					
				
					 2 changed files with 58 additions and 15 deletions
				
			
		|  | @ -63,6 +63,10 @@ wl_cursor_image_get_buffer(struct wl_cursor_image *image); | |||
| int | ||||
| wl_cursor_frame(struct wl_cursor *cursor, uint32_t time); | ||||
| 
 | ||||
| int | ||||
| wl_cursor_frame_and_duration(struct wl_cursor *cursor, uint32_t time, | ||||
| 			     uint32_t *duration); | ||||
| 
 | ||||
| #ifdef  __cplusplus | ||||
| } | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Derek Foreman
						Derek Foreman