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,7 +5272,8 @@ where
) )
.unwrap(); .unwrap();
indicators.push(IndicatorShader::focus_element( swap_elements.push(CosmicMappedRenderElement::FocusIndicator(
IndicatorShader::focus_element(
renderer, renderer,
Key::Static(swapping_stack_surface_id.clone()), Key::Static(swapping_stack_surface_id.clone()),
swap_geo, swap_geo,
@ -5280,6 +5281,7 @@ where
output_scale, output_scale,
transition.unwrap_or(1.0), transition.unwrap_or(1.0),
[window_hint.red, window_hint.green, window_hint.blue], [window_hint.red, window_hint.green, window_hint.blue],
),
)); ));
let render_loc = let render_loc =