textinput: fix ime when opening multiple windows (#5281)
This commit is contained in:
parent
9b7ae25ae8
commit
ae52b7f468
1 changed files with 5 additions and 1 deletions
|
|
@ -87,7 +87,11 @@ void CTextInput::onDisabled() {
|
|||
return;
|
||||
}
|
||||
|
||||
leave();
|
||||
if (!focusedSurface())
|
||||
return;
|
||||
|
||||
if (!isV3())
|
||||
leave();
|
||||
|
||||
hyprListener_surfaceDestroyed.removeCallback();
|
||||
hyprListener_surfaceUnmapped.removeCallback();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue