diff --git a/snowcap b/snowcap index e901659..7191c24 160000 --- a/snowcap +++ b/snowcap @@ -1 +1 @@ -Subproject commit e901659a86ec41c6903f8c913da711e1b8d95a56 +Subproject commit 7191c245cb247f1935accb3357dd2ef9a8e35e73 diff --git a/src/input.rs b/src/input.rs index 530ae27..f8a5cbd 100644 --- a/src/input.rs +++ b/src/input.rs @@ -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(); } } }); diff --git a/src/render.rs b/src/render.rs index b38f741..dc633fd 100644 --- a/src/render.rs +++ b/src/render.rs @@ -202,6 +202,7 @@ fn layer_render_elements( let layer_elements = layer_map .layers() + .rev() .filter_map(|surface| { layer_map .layer_geometry(surface)