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)))
|
if (VIRTKB && (wl_resource_get_client(VIRTKB->resource) == wl_resource_get_client(m_pKeyboardGrab->pWlrKbGrab->resource)))
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
if (wlr_keyboard_from_input_device(pKeyboard->keyboard) != m_pKeyboardGrab->pKeyboard)
|
|
||||||
return nullptr;
|
|
||||||
|
|
||||||
return m_pKeyboardGrab.get();
|
return m_pKeyboardGrab.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue