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

View file

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