mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2216 from RedSoxFan/fix-2213
Fix swaybar teardown when workspace buttons hidden
This commit is contained in:
		
						commit
						c523a14ae1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -497,7 +497,7 @@ void render_frame(struct swaybar *bar, struct swaybar_output *output) {
 | 
			
		|||
		// different height than what we asked for
 | 
			
		||||
		wl_surface_commit(output->surface);
 | 
			
		||||
		wl_display_roundtrip(bar->display);
 | 
			
		||||
	} else {
 | 
			
		||||
	} else if (height > 0) {
 | 
			
		||||
		// Replay recording into shm and send it off
 | 
			
		||||
		output->current_buffer = get_next_buffer(bar->shm,
 | 
			
		||||
				output->buffers,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue