[PATCH 1/3] qx - fix setting of DISPLAY variable

Neil Jerram neil at ossau.homelinux.net
Sat Jan 26 01:23:34 CET 2013


---
 src/3rdparty/applications/qx/qx.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/3rdparty/applications/qx/qx.cpp b/src/3rdparty/applications/qx/qx.cpp
index 6c22ba1..65a651e 100644
--- a/src/3rdparty/applications/qx/qx.cpp
+++ b/src/3rdparty/applications/qx/qx.cpp
@@ -172,7 +172,7 @@ QX::QX(QWidget *parent, Qt::WFlags f)
     screen = QX::ScreenMain;
 
     if(getenv("DISPLAY") == NULL)
-        setenv("DISPLAY", "0:0", true);
+        setenv("DISPLAY", ":0.0", true);
 
 #if QTOPIA
     powerConstraint = QtopiaApplication::Disable;
-- 
1.7.10.4


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=0003-qx-fix-Xfbdev-invocation.patch



More information about the community mailing list