aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSungyoon Cho <[email protected]>2024-04-01 08:41:00 +0900
committerGitHub <[email protected]>2024-04-01 00:41:00 +0100
commitecc1f22e050e6542948fd022694d1d7f8716a560 (patch)
tree3e8bced94c266d20a4baefbcd78d4e35114d450c
parent8cb38d41d203f95ea9c2be79996a5f0deda3eabf (diff)
downloadHyprland-ecc1f22e050e6542948fd022694d1d7f8716a560.tar.gz
Hyprland-ecc1f22e050e6542948fd022694d1d7f8716a560.zip
textinput: fix typo (#5365)
-rw-r--r--src/managers/input/TextInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/TextInput.cpp b/src/managers/input/TextInput.cpp
index 6b6f38c8..8be13a4c 100644
--- a/src/managers/input/TextInput.cpp
+++ b/src/managers/input/TextInput.cpp
@@ -194,7 +194,7 @@ void CTextInput::leave() {
return;
enterLocks--;
- if (enterLocks != 1) {
+ if (enterLocks != 0) {
Debug::log(ERR, "BUG THIS: TextInput has != 0 locks in leave");
enterLocks = 0;
}