Commit d56d4370 authored by David Edmundson's avatar David Edmundson

[autotests] Fix autotests

Since the active screen now follows the mouse, the position is
important.

Between two screens is an overly confusing place for it anyway.
parent 1a4d578b
......@@ -191,7 +191,7 @@ void InternalWindowTest::initTestCase()
void InternalWindowTest::init()
{
Cursors::self()->mouse()->setPos(QPoint(1280, 512));
Cursors::self()->mouse()->setPos(QPoint(512, 512));
QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Seat));
QVERIFY(Test::waitForWaylandKeyboard());
}
......
......@@ -133,7 +133,8 @@ void TestXdgShellClient::init()
QVERIFY(Test::waitForWaylandPointer());
screens()->setCurrent(0);
KWin::Cursors::self()->mouse()->setPos(QPoint(1280, 512));
//put mouse in the middle of screen one
KWin::Cursors::self()->mouse()->setPos(QPoint(512, 512));
}
void TestXdgShellClient::cleanup()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment