[plasma/kwin] src: Fix announcing input method protocols
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 296e7c175e63923f4d064c04b636ae956915d37d by Vlad Zahorodnii.
Committed on 21/07/2026 at 06:16.
Pushed by vladz into branch 'master'.
Fix announcing input method protocols
Amends f9bf0ee6b1e65cf9bad5a3d38ea417d264a33b55.
It was accidentally removed.
M +4 -0 src/wayland_server.cpp
https://invent.kde.org/plasma/kwin/-/commit/296e7c175e63923f4d064c04b636ae956915d37d
diff --git a/src/wayland_server.cpp b/src/wayland_server.cpp
index ce25711d535..b253f70eca2 100644
--- a/src/wayland_server.cpp
+++ b/src/wayland_server.cpp
@@ -147,6 +147,10 @@ public:
return false;
}
+ if (client != waylandServer()->inputMethodConnection() && inputmethodInterfaces.contains(interfaceName)) {
+ return false;
+ }
+
if (client->isSandboxed()) {
return !restrictedInterfaces.contains(interfaceName);
}