# This is only tested on Wayland since it's broken on X11

new_client w wayland
create w/1 csd

resize w/1 500 400
show w/1
wait

assert_size w/1 500 400

maximize w/1
wait_reconfigure
assert_size w/1 MONITOR_WIDTH MONITOR_HEIGHT

resize w/1 300 500
wait_reconfigure
assert_size w/1 MONITOR_WIDTH MONITOR_HEIGHT

unmaximize w/1
wait_reconfigure
assert_size w/1 300 500
