new_client 1 wayland
create 1/1
show 1/1
create 1/2
show 1/2
wait
assert_stacking 1/1 1/2

# Currently Wayland clients have no wait to bring themselves to the user's
# attention; gtk_window_present() is a no-op with the X11 backend of GTK+

# activate 1/1
# wait
# assert_stacking 1/2 1/1
# activate 1/2
# wait
# assert_stacking 1/1 1/2

local_activate 1/1
assert_stacking 1/2 1/1
local_activate 1/2
assert_stacking 1/1 1/2
