Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
92d3cb2f22
commit
05811535d4
1 changed files with 4 additions and 0 deletions
|
@ -168,6 +168,10 @@ void InputMethod::clientAdded(AbstractClient* client)
|
|||
}
|
||||
});
|
||||
connect(m_inputClient, &AbstractClient::frameGeometryChanged, this, refreshFrame);
|
||||
// Current code have a assumption that InputMethod started by the kwin is virtual keyboard,
|
||||
// InputMethod::hide sends out a deactivate signal to input-method client, this is not desired
|
||||
// when we support input methods like ibus which can show and hide surfaces/windows as they please
|
||||
// and are not exactly Virtual keyboards.
|
||||
connect(m_inputClient, &AbstractClient::windowHidden, this, &InputMethod::hide);
|
||||
connect(m_inputClient, &AbstractClient::windowClosed, this, &InputMethod::hide);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue