tests: implement xtest_sync_with_i3

The regular sync_with_i3 is not sufficient because i3test::XTEST uses a separate
X11 connection.
This commit is contained in:
Michael Stapelberg
2017-09-30 11:27:53 +02:00
parent c08ef36199
commit 14c8cf8622
5 changed files with 124 additions and 4 deletions

View File

@ -30,7 +30,7 @@ fresh_workspace;
xtest_button_press(4, 50, 50);
xtest_button_release(4, 50, 50);
sync_with_i3;
xtest_sync_with_i3;
is(focused_ws(), 'special', 'the binding was triggered');