mirror of
				https://github.com/swaywm/sway.git
				synced 2025-10-29 05:40:18 -04:00 
			
		
		
		
	chase wlroots!4411
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4411 fix #7802
This commit is contained in:
		
							parent
							
								
									f2425b4fd6
								
							
						
					
					
						commit
						6f6b82793d
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -706,9 +706,7 @@ static void handle_frame(struct wl_listener *listener, void *user_data) { | |||
| 
 | ||||
| 	if (output->max_render_time != 0) { | ||||
| 		struct timespec now; | ||||
| 		clockid_t presentation_clock | ||||
| 			= wlr_backend_get_presentation_clock(server.backend); | ||||
| 		clock_gettime(presentation_clock, &now); | ||||
| 		clock_gettime(CLOCK_MONOTONIC, &now); | ||||
| 
 | ||||
| 		const long NSEC_IN_SECONDS = 1000000000; | ||||
| 		struct timespec predicted_refresh = output->last_presentation; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Bill Li
						Bill Li