mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
c5b1bdc0fe
wait_reconfigure ensures that the whole configure back and forth completes before continuing. Doing this after every state change ensures that we always end up with the expected state, thus fixes flakyness of the restore-position stacking test. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1279
74 lines
987 B
Plaintext
74 lines
987 B
Plaintext
# X11
|
|
|
|
new_client x x11
|
|
create x/1 csd
|
|
show x/1
|
|
|
|
move x/1 100 100
|
|
assert_position x/1 100 100
|
|
|
|
maximize x/1
|
|
wait_reconfigure
|
|
assert_position x/1 0 0
|
|
|
|
unmaximize x/1
|
|
wait_reconfigure
|
|
assert_position x/1 100 100
|
|
|
|
tile x/1 left
|
|
wait_reconfigure
|
|
assert_position x/1 0 0
|
|
|
|
untile x/1
|
|
wait_reconfigure
|
|
assert_position x/1 100 100
|
|
|
|
tile x/1 left
|
|
wait
|
|
assert_position x/1 0 0
|
|
|
|
maximize x/1
|
|
wait_reconfigure
|
|
assert_position x/1 0 0
|
|
|
|
unmaximize x/1
|
|
wait_reconfigure
|
|
assert_position x/1 100 100
|
|
|
|
# Wayland
|
|
|
|
new_client w wayland
|
|
create w/1 csd
|
|
show w/1
|
|
|
|
move w/1 100 100
|
|
assert_position w/1 100 100
|
|
|
|
maximize w/1
|
|
wait_reconfigure
|
|
assert_position w/1 0 0
|
|
|
|
unmaximize w/1
|
|
wait_reconfigure
|
|
assert_position w/1 100 100
|
|
|
|
tile w/1 left
|
|
wait_reconfigure
|
|
assert_position w/1 0 0
|
|
|
|
untile w/1
|
|
wait_reconfigure
|
|
assert_position w/1 100 100
|
|
|
|
tile w/1 left
|
|
wait_reconfigure
|
|
assert_position w/1 0 0
|
|
|
|
maximize w/1
|
|
wait_reconfigure
|
|
assert_position w/1 0 0
|
|
|
|
unmaximize w/1
|
|
wait_reconfigure
|
|
assert_position w/1 100 100
|