This kills the dependency on xdmx and makes the testsuite simpler and more flexible (in the output sizes / configurations).
Using 'open' will not create an X11 window (while open_window does), so we will get spurious motion notify events when switching focus, leading to endless loops.