mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:05:59 +01:00
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…
Reference in a new issue