layout/tiling: Fix swap indicator element order

This commit is contained in:
Victoria Brekenfeld 2025-01-23 15:45:46 +01:00 • committed by Victoria Brekenfeld
parent afae9bb962
commit c59e9a3c52

View file

@ -5272,14 +5272,16 @@ where
) )
.unwrap(); .unwrap();
indicators.push(IndicatorShader::focus_element( swap_elements.push(CosmicMappedRenderElement::FocusIndicator(
renderer, IndicatorShader::focus_element(
Key::Static(swapping_stack_surface_id.clone()), renderer,
swap_geo, Key::Static(swapping_stack_surface_id.clone()),
4, swap_geo,
output_scale, 4,
transition.unwrap_or(1.0), output_scale,
[window_hint.red, window_hint.green, window_hint.blue], transition.unwrap_or(1.0),
[window_hint.red, window_hint.green, window_hint.blue],
),
)); ));
let render_loc = let render_loc =