xwm: Fix stacking order

This commit is contained in:
Victoria Brekenfeld 2023-10-25 15:28:40 +02:00
parent ffb7bcfc91
commit 4f076f73d9
5 changed files with 6 additions and 36 deletions

View file

@ -1072,7 +1072,7 @@ impl Workspace {
if let Some(xwm) = xwm_state.and_then(|state| state.xwm.as_mut()) {
if let Err(err) =
xwm.update_stacking_order_upwards(window_elements.iter().map(|e| e.id()))
xwm.update_stacking_order_upwards(window_elements.iter().rev().map(|e| e.id()))
{
warn!(
wm_id = ?xwm.id(),