shell/focus: Order sticky windows before fullscreen windows

This commit is contained in:
Victoria Brekenfeld 2026-06-12 16:17:53 +02:00 committed by Victoria Brekenfeld
parent 106b50293b
commit f032e7dbd5

View file

@ -231,9 +231,7 @@ fn render_input_order_internal<R: 'static>(
} }
// sticky window popups // sticky window popups
if !has_focused_fullscreen { callback(Stage::StickyPopups(&set.sticky_layer))?;
callback(Stage::StickyPopups(&set.sticky_layer))?;
}
} }
if element_filter != ElementFilter::LayerShellOnly { if element_filter != ElementFilter::LayerShellOnly {
@ -313,11 +311,11 @@ fn render_input_order_internal<R: 'static>(
for (layer, location) in layer_surfaces(output, Layer::Top, element_filter) { for (layer, location) in layer_surfaces(output, Layer::Top, element_filter) {
callback(Stage::LayerSurface { layer, location })?; callback(Stage::LayerSurface { layer, location })?;
} }
}
// sticky windows // sticky windows
if element_filter != ElementFilter::LayerShellOnly { if element_filter != ElementFilter::LayerShellOnly {
callback(Stage::Sticky(&set.sticky_layer))?; callback(Stage::Sticky(&set.sticky_layer))?;
}
} }
if element_filter != ElementFilter::LayerShellOnly { if element_filter != ElementFilter::LayerShellOnly {