resize_monitor default 800 600
add_monitor secondary 800 600
set_monitor_order secondary default
assert_primary_monitor default
move_cursor_to 1000 20
num_workspaces 2
set_pref center-new-windows false
set_pref workspaces-only-on-primary true

new_client w wayland

activate_workspace 0

create w/1 csd
resize w/1 600 250
show w/1
wait
assert_position w/1 899 32
assert_size w/1 600 250
assert_window_main_monitor w/1 default
assert_stacking_showing w/1
create w/2 csd
resize w/2 600 250
show w/2
wait
assert_position w/2 899 282
assert_size w/2 600 250
assert_window_main_monitor w/2 default
assert_stacking_showing w/1 w/2

activate_workspace 1

create w/3 csd
resize w/3 600 250
show w/3
wait
assert_position w/3 899 32
assert_size w/3 600 250
assert_window_main_monitor w/3 default
assert_stacking_showing w/3
