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
syncing _after_ fresh_workspace makes no change, but we need to wait for the WarpPointer request to be processed.
Includes a test for the new behaviour