mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 17:05:59 +01:00
fix IME grab on multiple open native inputs
This commit is contained in:
parent
575bfa40e5
commit
6565c31dbf
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue