mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Partially revert ddc9047
				
					
				
			...to just call wlr_scene_output_commit() as was previously the case and thus avoid freezing screens reported by a number of users. Fixes: #1273
This commit is contained in:
		
							parent
							
								
									1149b31c7f
								
							
						
					
					
						commit
						b05b5ba0cf
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										10
									
								
								src/output.c
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								src/output.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -63,11 +63,11 @@ output_frame_notify(struct wl_listener *listener, void *data)
 | 
			
		|||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (lab_wlr_scene_output_commit(output->scene_output)) {
 | 
			
		||||
		struct timespec now = { 0 };
 | 
			
		||||
		clock_gettime(CLOCK_MONOTONIC, &now);
 | 
			
		||||
		wlr_scene_output_send_frame_done(output->scene_output, &now);
 | 
			
		||||
	}
 | 
			
		||||
	wlr_scene_output_commit(output->scene_output, NULL);
 | 
			
		||||
 | 
			
		||||
	struct timespec now = { 0 };
 | 
			
		||||
	clock_gettime(CLOCK_MONOTONIC, &now);
 | 
			
		||||
	wlr_scene_output_send_frame_done(output->scene_output, &now);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue