Don't run focus in on input method disabled window
This commit is contained in:
parent
128066eeee
commit
b4d9cb2439
|
@ -409,7 +409,8 @@ void QFcitxPlatformInputContext::createInputContextFinished(
|
|||
if (proxy->isValid()) {
|
||||
QWindow *window = qApp->focusWindow();
|
||||
setFocusGroupForX11(uuid);
|
||||
if (window && window == w) {
|
||||
if (window && window == w && inputMethodAccepted() &&
|
||||
objectAcceptsInputMethod()) {
|
||||
cursorRectChanged();
|
||||
proxy->focusIn();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue