inputmethod: Give text input managers a parent
Otherwise they linger forever
This commit is contained in:
parent
a1639da6e5
commit
8c86648172
1 changed files with 3 additions and 3 deletions
|
@ -114,9 +114,9 @@ void InputMethod::init()
|
|||
qCDebug(KWIN_VIRTUALKEYBOARD) << "Registering the DBus interface";
|
||||
|
||||
if (waylandServer()) {
|
||||
new TextInputManagerV1Interface(waylandServer()->display());
|
||||
new TextInputManagerV2Interface(waylandServer()->display());
|
||||
new TextInputManagerV3Interface(waylandServer()->display());
|
||||
new TextInputManagerV1Interface(waylandServer()->display(), this);
|
||||
new TextInputManagerV2Interface(waylandServer()->display(), this);
|
||||
new TextInputManagerV3Interface(waylandServer()->display(), this);
|
||||
|
||||
connect(waylandServer()->seat(), &SeatInterface::focusedTextInputSurfaceChanged, this, &InputMethod::handleFocusedSurfaceChanged);
|
||||
|
||||
|
|
Loading…
Reference in a new issue