Hide the keyboard if we type using the physical keyboard
This commit is contained in:
parent
b755e6d91b
commit
c7e5680d63
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ void VirtualKeyboard::init()
|
||||||
dbus->setEnabled(m_enabled);
|
dbus->setEnabled(m_enabled);
|
||||||
connect(dbus, &VirtualKeyboardDBus::activateRequested, this, &VirtualKeyboard::setEnabled);
|
connect(dbus, &VirtualKeyboardDBus::activateRequested, this, &VirtualKeyboard::setEnabled);
|
||||||
connect(this, &VirtualKeyboard::enabledChanged, dbus, &VirtualKeyboardDBus::setEnabled);
|
connect(this, &VirtualKeyboard::enabledChanged, dbus, &VirtualKeyboardDBus::setEnabled);
|
||||||
|
connect(input(), &InputRedirection::keyStateChanged, this, &VirtualKeyboard::hide);
|
||||||
|
|
||||||
if (waylandServer()) {
|
if (waylandServer()) {
|
||||||
// we can announce support for the text input interface
|
// we can announce support for the text input interface
|
||||||
|
|
Loading…
Reference in a new issue