Reverse layer rendering

Multiple overlay layer surfaces were being drawn backwards, so this fixes that
This commit is contained in:
Ottatop 2024-06-19 16:28:40 -05:00
parent 05b8196319
commit 0a6984f713
3 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit e901659a86ec41c6903f8c913da711e1b8d95a56
Subproject commit 7191c245cb247f1935accb3357dd2ef9a8e35e73

View file

@ -685,7 +685,7 @@ impl State {
for window in self.pinnacle.space.elements() {
if let Some(toplevel) = window.toplevel() {
toplevel.send_configure();
toplevel.send_pending_configure();
}
}
} else {
@ -695,7 +695,7 @@ impl State {
for window in state.focus_stack.stack.iter() {
window.set_activate(false);
if let Some(toplevel) = window.toplevel() {
toplevel.send_configure();
toplevel.send_pending_configure();
}
}
});

View file

@ -202,6 +202,7 @@ fn layer_render_elements<R: PRenderer>(
let layer_elements = layer_map
.layers()
.rev()
.filter_map(|surface| {
layer_map
.layer_geometry(surface)