shell: Fix layer_shell
This commit is contained in:
parent
9af7e1ecb2
commit
a8e0f99e4b
2 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue