summaryrefslogtreecommitdiff
path: root/src/tests/stacking/closed-transient-no-input-parents.metatest
blob: ee99841926320b0c8b429ae63b63849befed3604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
new_client 0 x11
create 0/1
show 0/1

new_client 1 x11
create 1/1
show 1/1

create 1/2 csd
set_parent 1/2 1
accept_focus 1/2 false
show 1/2

create 1/3 csd
set_parent 1/3 2
accept_focus 1/3 false
show 1/3

create 1/4 csd
set_parent 1/4 3
accept_focus 1/4 false
show 1/4

create 1/5 csd
set_parent 1/5 3
show 1/5

wait
assert_focused 1/5
assert_stacking 0/1 1/1 1/2 1/3 1/4 1/5

destroy 1/5
dispatch

assert_focused none
assert_stacking 0/1 1/1 1/2 1/3 1/4

sleep 600
assert_focused 1/1
assert_stacking 0/1 1/1 1/2 1/3 1/4

destroy 1/3
wait

assert_focused 1/1
assert_stacking 0/1 1/1 1/2 1/4