summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Endrodi <ext-adam.endrodi@nokia.com>2010-12-02 14:13:23 +0200
committerAdam Endrodi <ext-adam.endrodi@nokia.com>2010-12-02 17:19:22 +0200
commita3026e317aa0052b953f1c8dfd130a2ede047cd2 (patch)
tree6e4b724cf8640f3383a7eb8d9729fc84fc1cee6e
parent78e0faae00587efa0a247f3de706772d9facfa8f (diff)
try to make test20.py pass
* mcompositor/main.cpp: Add CONTEXT_COMMANDING=1 for contextkit.
-rw-r--r--mcompositor/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcompositor/main.cpp b/mcompositor/main.cpp
index d8837b4..1c5db6c 100644
--- a/mcompositor/main.cpp
+++ b/mcompositor/main.cpp
@@ -26,6 +26,12 @@ int main(int argc, char *argv[])
{
// We don't need meego graphics system
setenv("QT_GRAPHICSSYSTEM", "raster", 1);
+
+#ifdef WINDOW_DEBUG
+ // React to context-commander's fake events; required by test20.py
+ // to be able to fake a phone call.
+ setenv("CONTEXT_COMMANDING", "1", 1);
+#endif
// Don't load any Qt plugins
QCoreApplication::setLibraryPaths(QStringList());