summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qximinputcontext_x11.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-06-05 08:14:12 (GMT)
committeraxis <qt-info@nokia.com>2009-06-05 08:16:21 (GMT)
commit04b4e2254e59fcb8776044d5d627e7f0d8daeacf (patch)
tree734ba7466814e8f8d1e633f052c24ebf7e67b7de /src/gui/inputmethod/qximinputcontext_x11.cpp
parent958b66dd60aac48909a5ba32282e088e68d9a9c7 (diff)
downloadQt-04b4e2254e59fcb8776044d5d627e7f0d8daeacf.zip
Qt-04b4e2254e59fcb8776044d5d627e7f0d8daeacf.tar.gz
Qt-04b4e2254e59fcb8776044d5d627e7f0d8daeacf.tar.bz2
Turned off input methods on X11 when using certain hints.
If any of those hints are present, complex input is not possible, so input methods should be turned off on X11.
Diffstat (limited to 'src/gui/inputmethod/qximinputcontext_x11.cpp')
-rw-r--r--src/gui/inputmethod/qximinputcontext_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qximinputcontext_x11.cpp b/src/gui/inputmethod/qximinputcontext_x11.cpp
index c320fb4..60ea15b 100644
--- a/src/gui/inputmethod/qximinputcontext_x11.cpp
+++ b/src/gui/inputmethod/qximinputcontext_x11.cpp
@@ -610,7 +610,7 @@ void QXIMInputContext::setFocusWidget(QWidget *w)
QInputContext::setFocusWidget(w);
- if (!w)
+ if (!w || w->inputMethodHints() & Qt::ImhExclusiveInputMask)
return;
ICData *data = ximData.value(w->effectiveWinId());