parent
c5b694d39e
commit
fe85347f3b
@ -1,27 +0,0 @@
|
||||
From 07f6241cd73009c953d7467f5db917b332f9c125 Mon Sep 17 00:00:00 2001
|
||||
From: Aleix Pol <aleixpol@kde.org>
|
||||
Date: Mon, 20 Mar 2023 21:21:50 +0100
|
||||
Subject: [PATCH] inputmethod: Properly report that it's not visible
|
||||
|
||||
Window::isShown only checks that it's not hidden, in this case it's not
|
||||
that it's hidden it's that it's neither shown or hidden. Take the
|
||||
readyForPainting attribute into account.
|
||||
---
|
||||
src/inputmethod.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp
|
||||
index 8e256c38221..f2e33a10a06 100644
|
||||
--- a/src/inputmethod.cpp
|
||||
+++ b/src/inputmethod.cpp
|
||||
@@ -946,7 +946,7 @@ void InputMethod::updateModifiersMap(const QByteArray &modifiers)
|
||||
|
||||
bool InputMethod::isVisible() const
|
||||
{
|
||||
- return m_panel && m_panel->isShown();
|
||||
+ return m_panel && m_panel->isShown() && m_panel->readyForPainting();
|
||||
}
|
||||
|
||||
bool InputMethod::isAvailable() const
|
||||
--
|
||||
GitLab
|
@ -1 +1 @@
|
||||
SHA512 (kwin-5.27.3.tar.xz) = 2a259bcd8bfc1bbc0b42fec9e58553560919681b95e5b6e03408e7ea046e63c9b527c85fbdf4dcdd5df82df8e4b2e6e1654c84c243c1f2564aaa593f2d970476
|
||||
SHA512 (kwin-5.27.4.tar.xz) = 13e8abc5de4c1b76d078e9f98bba46362314d4a99008afa390dfc51ec1dcd5fe85cde38ac5e021f0ffff9060db038a0f9de84626c1135bacd781cd631904e247
|
||||
|
Loading…
Reference in new issue