diff options
Diffstat (limited to 'src/managers/input/TextInput.cpp')
| -rw-r--r-- | src/managers/input/TextInput.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/managers/input/TextInput.cpp b/src/managers/input/TextInput.cpp index 0e642f82..7bb6c81a 100644 --- a/src/managers/input/TextInput.cpp +++ b/src/managers/input/TextInput.cpp @@ -87,7 +87,11 @@ void CTextInput::onDisabled() { return; } - leave(); + if (!focusedSurface()) + return; + + if (!isV3()) + leave(); hyprListener_surfaceDestroyed.removeCallback(); hyprListener_surfaceUnmapped.removeCallback(); |
