signals: don't let spotify set the urgent flag

It seems to set it for whatever reason. This is disturbing.
This commit is contained in:
Vincent Bernat 2014-10-19 23:53:01 +02:00
parent 5358463d2a
commit a4943e289f

View file

@ -50,6 +50,15 @@ client.add_signal("manage",
mouse_follow_focus(c)
end)
-- If this is Spotify and it sets the urgent property, unset it
if c.instance == "spotify" then
c.urgent = false
c:add_signal("property::urgent",
function()
c.urgent = false
end)
end
-- Setup icon if none exists
if not c.icon then
local icon = icons.lookup({ name = { c.class, c.instance },