autotests: Set initial cursor position in QuickTilingTest

This is to ensure that tests pass no matter what the current value of
the "Active screen follows pointer" option is.
This commit is contained in:
Vlad Zahorodnii 2020-12-03 11:53:40 +02:00
parent f1483b11af
commit 919e878d35

View file

@ -112,6 +112,7 @@ void QuickTilingTest::init()
m_compositor = Test::waylandCompositor(); m_compositor = Test::waylandCompositor();
screens()->setCurrent(0); screens()->setCurrent(0);
Cursors::self()->mouse()->setPos(QPoint(640, 512));
} }
void QuickTilingTest::cleanup() void QuickTilingTest::cleanup()