[uim-commit] r2441 - trunk/qt

ekato at freedesktop.org ekato at freedesktop.org
Thu Dec 8 03:25:07 PST 2005


Author: ekato
Date: 2005-12-08 03:25:00 -0800 (Thu, 08 Dec 2005)
New Revision: 2441

Modified:
   trunk/qt/switcher-qt.cpp
Log:
* qt/switcher-qt.cpp (main) : Don't use XIM for itself.


Modified: trunk/qt/switcher-qt.cpp
===================================================================
--- trunk/qt/switcher-qt.cpp	2005-12-08 10:29:27 UTC (rev 2440)
+++ trunk/qt/switcher-qt.cpp	2005-12-08 11:25:00 UTC (rev 2441)
@@ -43,6 +43,7 @@
 #include <qlayout.h>
 #include <qsizepolicy.h>
 
+#include <stdlib.h>
 #include <locale.h>
 
 #include "uim/config.h"
@@ -59,6 +60,8 @@
     bindtextdomain(PACKAGE, LOCALEDIR);
     textdomain(PACKAGE);
     bind_textdomain_codeset(PACKAGE, "UTF-8"); // ensure code encoding is UTF8-
+
+    setenv("XMODIFIERS", "@im=none", 1);
     
     QApplication a( argc, argv );
 



More information about the uim-commit mailing list