7ac982d0d2
Adds the command make_above to set and unset always-on-top behavior of a window and tests stacking and focus when activating other windows and switching workspaces. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2489>
52 lines
867 B
Plaintext
52 lines
867 B
Plaintext
num_workspaces 2
|
|
|
|
new_client 1 wayland
|
|
create 1/1
|
|
show 1/1
|
|
create 1/2
|
|
show 1/2
|
|
create 1/3
|
|
show 1/3
|
|
wait
|
|
|
|
assert_stacking_workspace 0 1/1 1/2 1/3
|
|
assert_stacking_workspace 1
|
|
assert_focused 1/3
|
|
|
|
local_activate 1/1
|
|
|
|
assert_stacking_workspace 0 1/2 1/3 1/1
|
|
assert_stacking_workspace 1
|
|
assert_focused 1/1
|
|
|
|
make_above 1/3 true
|
|
|
|
assert_stacking_workspace 0 1/2 1/1 1/3
|
|
assert_stacking_workspace 1
|
|
assert_focused 1/1
|
|
|
|
local_activate 1/2
|
|
|
|
assert_stacking_workspace 0 1/1 1/2 1/3
|
|
assert_stacking_workspace 1
|
|
assert_focused 1/2
|
|
|
|
activate_workspace 1
|
|
|
|
assert_stacking_workspace 0 1/1 1/2 1/3
|
|
assert_stacking_workspace 1
|
|
assert_focused none
|
|
|
|
activate_workspace 0
|
|
|
|
assert_stacking_workspace 0 1/1 1/2 1/3
|
|
assert_stacking_workspace 1
|
|
assert_focused 1/2
|
|
|
|
make_above 1/3 false
|
|
local_activate 1/1
|
|
|
|
assert_stacking_workspace 0 1/2 1/3 1/1
|
|
assert_stacking_workspace 1
|
|
assert_focused 1/1
|