
New commands to set the number of workspaces, activate a workspace, with and without focus, move windows to specific workspaces, and check the stacking on a specific workspace. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2489>
30 lines
516 B
Plaintext
30 lines
516 B
Plaintext
num_workspaces 2
|
|
activate_workspace 0
|
|
|
|
new_client 1 wayland
|
|
create 1/1
|
|
show 1/1
|
|
create 1/2
|
|
show 1/2
|
|
wait
|
|
assert_stacking_workspace 0 1/1 1/2
|
|
assert_stacking_workspace 1
|
|
|
|
activate_workspace 1
|
|
new_client 2 wayland
|
|
create 2/1
|
|
show 2/1
|
|
wait
|
|
assert_stacking_workspace 0 1/1 1/2
|
|
assert_stacking_workspace 1 2/1
|
|
|
|
create 1/3
|
|
show 1/3
|
|
wait
|
|
assert_stacking_workspace 0 1/1 1/2
|
|
assert_stacking_workspace 1 2/1 1/3
|
|
|
|
activate_workspace_with_focus 0 1/1
|
|
wait
|
|
assert_stacking_workspace 0 1/2 1/1
|
|
assert_stacking_workspace 1 2/1 1/3 |