Codebase list kwindowsystem / 3567db5 debian / patches / netrootinfotestwm-testsupported-needs-to-also-count-skipS.patch
3567db5

Tree @3567db5 (Download .tar.gz)

netrootinfotestwm-testsupported-needs-to-also-count-skipS.patch @3567db5raw · history · blame

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++;
     }