https://bugs.kde.org/show_bug.cgi?id=359567

--- Comment #15 from Thomas Lübking <thomas.luebk...@gmail.com> ---
The detection will be fine. The client simply does not set a WM_CLASS hint, so
it's kinda "indetectable" :-(

This patch may hunk but should apply to 5.4 (otherwise please ask back)
If CEF is *not* violating the spec, your hyperactive rule should not apply to
spotify anymore.

But if it's this https://aur.archlinux.org/packages/spotify/ , I could just
test it myself (the CEF thingy is somehow statically linked? I don't see
relevant deps)

-----

diff --git a/manage.cpp b/manage.cpp
index 4198e60..41636be 100644
--- a/manage.cpp
+++ b/manage.cpp
@@ -627,6 +627,10 @@ bool Client::manage(xcb_window_t w, bool isMapped)
     } else
         updateVisibility();
     assert(mapping_state != Withdrawn);
+
+    xcb_connection_t *c = connection();
+    free(xcb_get_input_focus_reply(c, xcb_get_input_focus(c), nullptr));
+
     m_managed = true;
     blockGeometryUpdates(false);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to