summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2016-02-29 14:30:14 -0800
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2016-03-22 15:05:34 +0000
commitfbf5e9403e15655bd479e4cc6b26bf1451e5b8c5 (patch)
tree6f4130cff9c5b948809d7e4ab5985c657aff5e57 /tests
parent2bc54e9a5b7464a2839b408c79f190bf54011a97 (diff)
downloadqtx11extras-fbf5e9403e15655bd479e4cc6b26bf1451e5b8c5.tar.gz
Add QX11Info::isCompositingManagerRunning() function
Task-number: QTBUG-41195 Change-Id: Id4b385478dad85dd02c484fe9c44666bae46268b Reviewed-by: Błażej Szczygieł <spaz16@wp.pl> Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qx11info/tst_qx11info.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qx11info/tst_qx11info.cpp b/tests/auto/qx11info/tst_qx11info.cpp
index 0a19d7f..a27f443 100644
--- a/tests/auto/qx11info/tst_qx11info.cpp
+++ b/tests/auto/qx11info/tst_qx11info.cpp
@@ -96,6 +96,8 @@ void tst_QX11Info::staticFunctionsBeforeQApplication()
appUserTime = QX11Info::appUserTime();
QCOMPARE(appTime, 0ul);
QCOMPARE(appTime, 0ul);
+
+ QX11Info::isCompositingManagerRunning();
}
static const char idFromEnv[] = "startupid_TIME123456";