mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2590 from RyanDwyer/fix-output-active-workspace
Fix crash when switching to new workspace during transaction
This commit is contained in:
		
						commit
						6ab38ba098
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -871,7 +871,7 @@ void output_render(struct sway_output *output, struct timespec *when,
 | 
			
		|||
		pixman_region32_union_rect(damage, damage, 0, 0, width, height);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	struct sway_workspace *workspace = output_get_active_workspace(output);
 | 
			
		||||
	struct sway_workspace *workspace = output->current.active_workspace;
 | 
			
		||||
	struct sway_container *fullscreen_con = workspace->current.fullscreen;
 | 
			
		||||
 | 
			
		||||
	if (output_has_opaque_overlay_layer_surface(output)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue