tests: warp the pointer to in multi-monitor tests to avoid flaky tests

This commit is contained in:
Michael Stapelberg
2012-04-09 14:48:43 +02:00
parent 983ba656fc
commit 1bb165a29a
3 changed files with 13 additions and 0 deletions

View File

@ -594,6 +594,7 @@ Con* workspace_prev_on_output(void) {
Con *current = con_get_workspace(focused);
Con *prev = NULL;
Con *output = con_get_output(focused);
DLOG("output = %s\n", output->name);
if (current->num == -1) {
/* If named workspace, find previous named workspace. */