Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qt5/platforminputcontext/qfcitxplatforminputcontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ void QFcitxPlatformInputContext::setFocusObject(QObject *object) {
return;
}

if (proxy) {
if (proxy && !shouldDisableInputMethod()) {
proxy->focusIn();
// We need to delegate this otherwise it may cause self-recursion in
// certain application like libreoffice.
Expand Down Expand Up @@ -634,7 +634,7 @@ void QFcitxPlatformInputContext::createInputContextFinished(
#else
Q_UNUSED(uuid);
#endif
if (window && window == w) {
if (window && window == w && !shouldDisableInputMethod()) {
cursorRectChanged();
proxy->focusIn();
}
Expand Down