Merge pull request #147 from pop-os/update-stacking-order

xwm: Don't pass override-redirect surfaces to `update_stacking_order*`
This commit is contained in:
Victoria Brekenfeld 2023-08-08 16:11:33 +02:00 committed by GitHub
commit 0eef8fe742
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 12 deletions

2
Cargo.lock generated
View file

@ -3779,7 +3779,7 @@ checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
[[package]]
name = "smithay"
version = "0.3.0"
source = "git+https://github.com/smithay//smithay?rev=b77ef9a7ee#b77ef9a7ee655ad021004abdd4668c653d7543c7"
source = "git+https://github.com/smithay//smithay?rev=cd2f688a0d#cd2f688a0d56a762cf1c3e4606898d0eb5cbe964"
dependencies = [
"appendlist",
"ash",

View file

@ -80,4 +80,4 @@ debug = true
lto = "fat"
[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/smithay//smithay", rev = "b77ef9a7ee" }
smithay = { git = "https://github.com/smithay//smithay", rev = "cd2f688a0d" }

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(),