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