Package list kwindowsystem / 313b201
Add patch: kwindowinfox11test-Skip-SkipSwitcher-test.patch Maximiliano Curia 3 years ago
2 changed file(s) with 26 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Maximiliano Curia <maxy@gnuservers.com.ar>
1 Date: Tue, 15 May 2018 20:31:18 +0200
2 Subject: kwindowinfox11test: Skip SkipSwitcher test
3
4 Openbox won't keep unknown states and SkipSwitcher is kde specific
5 ---
6 autotests/kwindowinfox11test.cpp | 5 +++++
7 1 file changed, 5 insertions(+)
8
9 diff --git a/autotests/kwindowinfox11test.cpp b/autotests/kwindowinfox11test.cpp
10 index 180e05a..c5a231b 100644
11 --- a/autotests/kwindowinfox11test.cpp
12 +++ b/autotests/kwindowinfox11test.cpp
13 @@ -227,6 +227,11 @@ void KWindowInfoX11Test::testState()
14
15 KWindowInfo info3(window->winId(), NET::WMState);
16 QVERIFY(info3.valid());
17 +
18 + NETRootInfo rootInfo(QX11Info::connection(), NET::Supported | NET::SupportingWMCheck);
19 + if (state == NET::States(NET::SkipSwitcher) && qstrcmp(rootInfo.wmName(), "Openbox") == 0) {
20 + QSKIP("Openbox won't keep unknown states, SkipSwitcher is kde specific");
21 + }
22 QCOMPARE(info3.state(), state);
23 QVERIFY(info3.hasState(state));
24 }
0 kwindowinfox11test-Skip-SkipSwitcher-test.patch