File Use-consistent-data-for-xembed-SNI-IDs.patch of Package plasma5-workspace

--- a/xembed-sni-proxy/sniproxy.cpp
+++ b/xembed-sni-proxy/sniproxy.cpp
@@ -379,7 +384,11 @@
 QString SNIProxy::Title() const
 {
-    KWindowInfo window (m_windowId, NET::WMName);
-    return window.name();
+    KWindowInfo window (m_windowId, NET::WMName, NET::WM2WindowClass);
+    const auto name = window.name();
+    if (name.isEmpty()) {
+        return QString::fromLocal8Bit(window.windowClassName());
+    }
+    return name;
 }
 
 int SNIProxy::WindowId() const
openSUSE Build Service is sponsored by