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:
commit
0eef8fe742
3 changed files with 4 additions and 12 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -3779,7 +3779,7 @@ checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "smithay"
|
name = "smithay"
|
||||||
version = "0.3.0"
|
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 = [
|
dependencies = [
|
||||||
"appendlist",
|
"appendlist",
|
||||||
"ash",
|
"ash",
|
||||||
|
|
|
||||||
|
|
@ -80,4 +80,4 @@ debug = true
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
|
|
||||||
[patch."https://github.com/Smithay/smithay.git"]
|
[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" }
|
||||||
|
|
|
||||||
|
|
@ -547,11 +547,7 @@ impl Workspace {
|
||||||
|
|
||||||
if let Some(xwm) = xwm_state.and_then(|state| state.xwm.as_mut()) {
|
if let Some(xwm) = xwm_state.and_then(|state| state.xwm.as_mut()) {
|
||||||
if let Err(err) = xwm.update_stacking_order_upwards(
|
if let Err(err) = xwm.update_stacking_order_upwards(
|
||||||
popup_elements
|
window_elements.iter().rev().map(|e| e.id()),
|
||||||
.iter()
|
|
||||||
.rev()
|
|
||||||
.map(|e| e.id())
|
|
||||||
.chain(window_elements.iter().rev().map(|e| e.id())),
|
|
||||||
) {
|
) {
|
||||||
warn!(
|
warn!(
|
||||||
wm_id = ?xwm.id(),
|
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 Some(xwm) = xwm_state.and_then(|state| state.xwm.as_mut()) {
|
||||||
if let Err(err) = xwm.update_stacking_order_upwards(
|
if let Err(err) = xwm.update_stacking_order_upwards(
|
||||||
popup_elements
|
window_elements.iter().rev().map(|e| e.id()),
|
||||||
.iter()
|
|
||||||
.rev()
|
|
||||||
.map(|e| e.id())
|
|
||||||
.chain(window_elements.iter().rev().map(|e| e.id())),
|
|
||||||
) {
|
) {
|
||||||
warn!(
|
warn!(
|
||||||
wm_id = ?xwm.id(),
|
wm_id = ?xwm.id(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue