From 919e878d356e1e9747a80c2b14929cad3e82aa63 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 3 Dec 2020 11:53:40 +0200 Subject: [PATCH] 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. --- autotests/integration/quick_tiling_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/autotests/integration/quick_tiling_test.cpp b/autotests/integration/quick_tiling_test.cpp index 9becf6a81a..b401987765 100644 --- a/autotests/integration/quick_tiling_test.cpp +++ b/autotests/integration/quick_tiling_test.cpp @@ -112,6 +112,7 @@ void QuickTilingTest::init() m_compositor = Test::waylandCompositor(); screens()->setCurrent(0); + Cursors::self()->mouse()->setPos(QPoint(640, 512)); } void QuickTilingTest::cleanup()