Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/input_stacking_order.cpp
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Line(s) | 98 | { | |||
---|---|---|---|---|---|
99 | Test::render(surface, QSize(100, 50), Qt::blue); | 99 | Test::render(surface, QSize(100, 50), Qt::blue); | ||
100 | Test::flushWaylandConnection(); | 100 | Test::flushWaylandConnection(); | ||
101 | } | 101 | } | ||
102 | 102 | | |||
103 | void InputStackingOrderTest::testPointerFocusUpdatesOnStackingOrderChange_data() | 103 | void InputStackingOrderTest::testPointerFocusUpdatesOnStackingOrderChange_data() | ||
104 | { | 104 | { | ||
105 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 105 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
106 | 106 | | |||
107 | QTest::newRow("xdgShellV5") << Test::XdgShellSurfaceType::XdgShellV5; | | |||
108 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | 107 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | ||
109 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 108 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
110 | } | 109 | } | ||
111 | 110 | | |||
112 | void InputStackingOrderTest::testPointerFocusUpdatesOnStackingOrderChange() | 111 | void InputStackingOrderTest::testPointerFocusUpdatesOnStackingOrderChange() | ||
113 | { | 112 | { | ||
114 | // this test creates two windows which overlap | 113 | // this test creates two windows which overlap | ||
115 | // the pointer is in the overlapping area which means the top most window has focus | 114 | // the pointer is in the overlapping area which means the top most window has focus | ||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |