Package: kwindowsystem / 5.54.0-1

netrootinfotestwm-testsupported-needs-to-also-count-skipS.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Maximiliano Curia <maxy@gnuservers.com.ar>
Date: Tue, 15 May 2018 21:15:05 +0200
Subject: netrootinfotestwm: testsupported needs to also count skipSwitcher

This doesn't seem to really be querying the wm.
---
 autotests/netrootinfotestwm.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autotests/netrootinfotestwm.cpp b/autotests/netrootinfotestwm.cpp
index d46265f..6780daf 100644
--- a/autotests/netrootinfotestwm.cpp
+++ b/autotests/netrootinfotestwm.cpp
@@ -231,7 +231,7 @@ void NetRootInfoTestWM::testSupported()
         QVERIFY(rootInfo.isSupported(NET::WindowTypeMask(1 << i)));
         count++;
     }
-    for (int i = 0; i < 12; ++i) {
+    for (int i = 0; i < 13; ++i) {
         QVERIFY(rootInfo.isSupported(NET::State(1 << i)));
         count++;
     }