Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/x11_client_test.cpp
Show First 20 Lines • Show All 587 Lines • ▼ Show 20 Line(s) | 530 | { | |||
---|---|---|---|---|---|
588 | QVERIFY(client2); | 588 | QVERIFY(client2); | ||
589 | QVERIFY(client != client2); | 589 | QVERIFY(client != client2); | ||
590 | QCOMPARE(client2->windowId(), w2); | 590 | QCOMPARE(client2->windowId(), w2); | ||
591 | QCOMPARE(client2->isActive(), true); | 591 | QCOMPARE(client2->isActive(), true); | ||
592 | QCOMPARE(client2->group(), client->group()); | 592 | QCOMPARE(client2->group(), client->group()); | ||
593 | // first client should be moved back to normal layer | 593 | // first client should be moved back to normal layer | ||
594 | QCOMPARE(client->isActive(), false); | 594 | QCOMPARE(client->isActive(), false); | ||
595 | QCOMPARE(client->isFullScreen(), true); | 595 | QCOMPARE(client->isFullScreen(), true); | ||
596 | QEXPECT_FAIL("", "BUG 388310", Continue); | | |||
597 | QCOMPARE(client->layer(), NormalLayer); | 596 | QCOMPARE(client->layer(), NormalLayer); | ||
597 | | ||||
598 | // activating the fullscreen window again, should move it to active layer | ||||
599 | workspace()->activateClient(client); | ||||
600 | QTRY_COMPARE(client->layer(), ActiveLayer); | ||||
598 | } | 601 | } | ||
599 | 602 | | |||
600 | WAYLANDTEST_MAIN(X11ClientTest) | 603 | WAYLANDTEST_MAIN(X11ClientTest) | ||
601 | #include "x11_client_test.moc" | 604 | #include "x11_client_test.moc" |