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:
parent
2729be8542
commit
eb182cd170
3 changed files with 4 additions and 12 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue