mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
tests: Verify focused window in closed-transient tests
Ensure that we have a focused window when closing transient windows with no-focus or no-take-focus atoms https://gitlab.gnome.org/GNOME/mutter/merge_requests/307
This commit is contained in:
parent
51f9e04ef1
commit
fcb408ad5d
@ -13,9 +13,11 @@ set_parent 1/3 2
|
||||
show 1/3
|
||||
|
||||
wait
|
||||
assert_focused 1/3
|
||||
assert_stacking 1/1 1/2 1/3
|
||||
|
||||
destroy 1/3
|
||||
|
||||
wait
|
||||
assert_focused 1/1
|
||||
assert_stacking 1/1 1/2
|
||||
|
@ -1,3 +1,8 @@
|
||||
new_client 2 x11
|
||||
create 2/1
|
||||
show 2/1
|
||||
wait
|
||||
|
||||
new_client 1 x11
|
||||
create 1/1
|
||||
accept_focus 1/1 false
|
||||
@ -15,9 +20,11 @@ set_parent 1/3 2
|
||||
show 1/3
|
||||
|
||||
wait
|
||||
assert_stacking 1/1 1/2 1/3
|
||||
assert_focused 1/3
|
||||
assert_stacking 2/1 1/1 1/2 1/3
|
||||
|
||||
destroy 1/3
|
||||
wait
|
||||
|
||||
assert_stacking 1/1 1/2
|
||||
wait
|
||||
assert_stacking 1/1 1/2 2/1
|
||||
assert_focused 2/1
|
||||
|
Loading…
Reference in New Issue
Block a user