commit 469dc2c86d6afc60add88291e3f36427076f1ab7
Author: Koji Yokota <yok...@lyx.org>
Date:   Wed Jun 4 08:34:28 2025 +0900

    Adding a comment
---
 src/frontends/qt/GuiInputMethod.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/frontends/qt/GuiInputMethod.cpp 
b/src/frontends/qt/GuiInputMethod.cpp
index d3b12f66c1..2d2a57cf37 100644
--- a/src/frontends/qt/GuiInputMethod.cpp
+++ b/src/frontends/qt/GuiInputMethod.cpp
@@ -135,6 +135,7 @@ void GuiInputMethod::setHint(Hint hint){
 
 void GuiInputMethod::processPreedit(QInputMethodEvent* ev)
 {
+       // Linux can call this function even when IM is not used
        if (ev->preeditString().isEmpty() && ev->commitString().isEmpty() &&
                !d->has_selection_ && d->im_state_.preediting_ == false)
                return;
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to