mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
IME: guard unfocused TIs in leave
This commit is contained in:
parent
568b352b23
commit
8c88689faf
@ -506,6 +506,9 @@ void CInputMethodRelay::onTextInputLeave(wlr_surface* pSurface) {
|
||||
if (!ti)
|
||||
return;
|
||||
|
||||
if (ti->pWlrInput && !ti->pWlrInput->focused_surface)
|
||||
return;
|
||||
|
||||
if (ti->pWlrInput)
|
||||
wlr_text_input_v3_send_leave(ti->pWlrInput);
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user