Don't restack windows while we are unmanaging them
Restacking the frame for a window while unmanaging the window is harmless, but for undecorated (in particular, client-side-decorated) windows, this causes problems because the window is typically destroyed by the client immediately after withredrawing the window. Skip windows flagged as being unmanaged when assembling the new stack and when comparing the old order to the new stack. Add a stacking test for this.
This commit is contained in:
22
src/tests/stacking/client-side-decorated.metatest
Normal file
22
src/tests/stacking/client-side-decorated.metatest
Normal file
@@ -0,0 +1,22 @@
|
||||
new_client 1 x11
|
||||
create 1/1
|
||||
show 1/1
|
||||
create 1/2 csd
|
||||
show 1/2
|
||||
wait
|
||||
assert_stacking 1/1 1/2
|
||||
|
||||
destroy 1/2
|
||||
wait
|
||||
assert_stacking 1/1
|
||||
|
||||
create 1/2 csd
|
||||
show 1/2
|
||||
create 1/3 csd
|
||||
show 1/3
|
||||
wait
|
||||
assert_stacking 1/1 1/2 1/3
|
||||
|
||||
destroy 1/2
|
||||
wait
|
||||
assert_stacking 1/1 1/3
|
Reference in New Issue
Block a user