mirror of
https://github.com/brl/mutter.git
synced 2025-01-01 07:22:15 +00:00
ed7a9af62a
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>
41 lines
727 B
Plaintext
41 lines
727 B
Plaintext
num_workspaces 2
|
|
activate_workspace 1
|
|
|
|
new_client 1 wayland
|
|
create 1/1
|
|
show 1/1
|
|
create 1/2
|
|
show 1/2
|
|
wait
|
|
assert_stacking 1/1 1/2
|
|
assert_stacking_workspace 1 1/1 1/2
|
|
assert_stacking_workspace 0
|
|
|
|
activate_workspace 0
|
|
wait
|
|
assert_stacking 1/1 1/2
|
|
assert_stacking_workspace 1 1/1 1/2
|
|
assert_stacking_workspace 0
|
|
|
|
activate_workspace_with_focus 0 1/1
|
|
wait
|
|
assert_stacking 1/2 1/1
|
|
assert_stacking_workspace 1 1/2 1/1
|
|
assert_stacking_workspace 0
|
|
|
|
window_to_workspace 1/2 0
|
|
wait
|
|
assert_stacking 1/2 1/1
|
|
assert_stacking_workspace 1 1/1
|
|
assert_stacking_workspace 0 1/2
|
|
|
|
activate_workspace 0
|
|
wait
|
|
new_client 2 wayland
|
|
create 2/1
|
|
show 2/1
|
|
wait
|
|
|
|
assert_stacking 1/1 1/2 2/1
|
|
assert_stacking_workspace 1 1/1
|
|
assert_stacking_workspace 0 1/2 2/1 |