diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-22 18:40:38 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-22 18:40:38 +0200 |
| commit | 6565c31dbfb590c9173a192f4f26e6ea5c787375 (patch) | |
| tree | cf1724092ce1103ec7efff645eb9a1b3780d6bb8 /src/managers/input/InputMethodRelay.cpp | |
| parent | 575bfa40e5db57944e7d38e8561c17270ef9a635 (diff) | |
fix IME grab on multiple open native inputs
Diffstat (limited to 'src/managers/input/InputMethodRelay.cpp')
| -rw-r--r-- | src/managers/input/InputMethodRelay.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/managers/input/InputMethodRelay.cpp b/src/managers/input/InputMethodRelay.cpp index 05524218..4f18781a 100644 --- a/src/managers/input/InputMethodRelay.cpp +++ b/src/managers/input/InputMethodRelay.cpp @@ -259,9 +259,6 @@ SIMEKbGrab* CInputMethodRelay::getIMEKeyboardGrab(SKeyboard* pKeyboard) { if (VIRTKB && (wl_resource_get_client(VIRTKB->resource) == wl_resource_get_client(m_pKeyboardGrab->pWlrKbGrab->resource))) return nullptr; - if (wlr_keyboard_from_input_device(pKeyboard->keyboard) != m_pKeyboardGrab->pKeyboard) - return nullptr; - return m_pKeyboardGrab.get(); } |
