xwm: Don't pass override-redirect surfaces to update_stacking_order*

We shouldn't be sending configures to override-redirect surfaces.

Requires https://github.com/Smithay/smithay/pull/1094 to behave
correctly.
This commit is contained in:
Ian Douglas Scott 2023-08-07 13:52:22 -07:00 committed by Ian Douglas Scott
parent 2729be8542
commit eb182cd170
3 changed files with 4 additions and 12 deletions

View file

@ -547,11 +547,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(
popup_elements
.iter()
.rev()
.map(|e| e.id())
.chain(window_elements.iter().rev().map(|e| e.id())),
window_elements.iter().rev().map(|e| e.id()),
) {
warn!(
wm_id = ?xwm.id(),
@ -629,11 +625,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(
popup_elements
.iter()
.rev()
.map(|e| e.id())
.chain(window_elements.iter().rev().map(|e| e.id())),
window_elements.iter().rev().map(|e| e.id()),
) {
warn!(
wm_id = ?xwm.id(),