mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 00:50:42 -05:00
fcb408ad5d
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
24 lines
284 B
Plaintext
24 lines
284 B
Plaintext
new_client 1 x11
|
|
create 1/1
|
|
show 1/1
|
|
|
|
create 1/2 csd
|
|
set_parent 1/2 1
|
|
can_take_focus 1/2 false
|
|
accept_focus 1/2 false
|
|
show 1/2
|
|
|
|
create 1/3 csd
|
|
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
|