mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
				We were iterating over involved outputs, applying the new state and
sending the commit event for each one. This resulted in commit
events being fired while we weren't done applying the new state for
all outputs.
Fix this by first applying all of the states, then firing all of
the events.
Closes: https://github.com/swaywm/sway/issues/8829
(cherry picked from commit 
		
	
					 | 
			||
|---|---|---|
| .. | ||
| wlr_buffer.h | ||
| wlr_data_device.h | ||
| wlr_keyboard.h | ||
| wlr_output.h | ||
| wlr_region.h | ||
| wlr_scene.h | ||
| wlr_seat.h | ||
| wlr_subcompositor.h | ||
| wlr_tablet_v2.h | ||
| wlr_xdg_shell.h | ||