Make tst_QWindow::generatedMouseMove pass on Wayland
By using qWaitForWindowExposed instead of qWaitForWindowActivated. Task-number: QTBUG-66824 Change-Id: Idf604157070731d9c92ccf64d8349c8571960b7c Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
f25416cd08
commit
681933c5b8
@ -2319,7 +2319,7 @@ void tst_QWindow::generatedMouseMove()
|
||||
w.setGeometry(QRect(m_availableTopLeft + QPoint(100, 100), m_testWindowSize));
|
||||
w.setFlags(w.flags() | Qt::FramelessWindowHint); // ### FIXME: QTBUG-63542
|
||||
w.show();
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&w));
|
||||
QPoint point(10, 10);
|
||||
QPoint step(2, 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user