Merge branch 'Plasma/5.4'

This commit is contained in:
Martin Gräßlin 2015-09-30 10:30:47 +02:00
commit 1f2087ce7c

View file

@ -477,7 +477,7 @@ void TestScreenEdges::testCallback()
QCOMPARE(Cursor::pos(), QPoint(1, 101));
// now let's try to trigger again
QTest::qWait(100);
QTest::qWait(351);
setPos(QPoint(0, 100));
event.time = QDateTime::currentMSecsSinceEpoch();
QVERIFY(s->isEntered(&event));
@ -507,6 +507,7 @@ void TestScreenEdges::testCallback()
s->setConfig(config);
s->reconfigure();
// it should trigger directly
QTest::qWait(350);
event.time = QDateTime::currentMSecsSinceEpoch();
QVERIFY(s->isEntered(&event));
QCOMPARE(spy.count(), 3);
@ -688,6 +689,7 @@ void TestScreenEdges::testFullScreenBlocking()
QCOMPARE(Cursor::pos(), QPoint(1, 50));
// let's make the client fullscreen again, but with a geometry not intersecting the left edge
QTest::qWait(351);
client.setFullScreen(true);
client.setGeometry(client.geometry().translated(10, 0));
emit s->checkBlocking();