shell: Fix layer_shell

This commit is contained in:
Victoria Brekenfeld 2022-11-06 11:49:51 +01:00
parent 9af7e1ecb2
commit a8e0f99e4b
2 changed files with 2 additions and 2 deletions

View file

@ -437,7 +437,7 @@ impl Workspace {
// overlay and top layer surfaces
let lower = {
let (upper, lower): (Vec<&LayerSurface>, Vec<&LayerSurface>) = layer_map
let (lower, upper): (Vec<&LayerSurface>, Vec<&LayerSurface>) = layer_map
.layers()
.rev()
.partition(|s| matches!(s.layer(), Layer::Background | Layer::Bottom));

View file

@ -100,7 +100,7 @@ impl State {
if !initial_configure_sent {
// compute initial dimensions by mapping
Shell::map_layer(self, &surface);
// this will also send a configure
surface.layer_surface().send_configure();
}
initial_configure_sent
}