]> git.sur5r.net Git - i3/i3/commit
tests: sync_with_i3 before warping pointer
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 25 Feb 2014 19:44:17 +0000 (20:44 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 25 Feb 2014 19:44:17 +0000 (20:44 +0100)
commit07d583d7806dc87c92796fcc1c3cf0b887dd925b
treee22c1011a49b5a59df4317810eb4c515629df81f
parentcdbf62d0555c63cb471253b30071d9d4d18adf77
tests: sync_with_i3 before warping pointer

To be honest, I’m not entirely sure where the race condition originates
from, but when making sure that there are no pending events
(which is what sync_with_i3 accomplishes) before warping the pointer, we
have less flaky testsuite runs.

closes #1189
testcases/t/132-move-workspace.t
testcases/t/156-fullscreen-focus.t
testcases/t/502-focus-output.t
testcases/t/503-workspace.t
testcases/t/505-scratchpad-resolution.t
testcases/t/506-focus-right.t
testcases/t/510-focus-across-outputs.t