Hi, I am trying to emulate tilda's( drop down terminal ) behaviour : automatically disappear when the user switches to some other application. I want this behavior for a couple of apps like : gmpc, shell, thunar, hence the effort.
Here is what I am doing: Add a unfocus signal to the particular client using rules and callbacks. { rule = { class = "Thunar" }, properties = { floating = true }, callback = function(c) set_geometry() c:add_signal("unfocus", function(c) hide(c) end) end }, hide function is accessible and contains the following code( it works ): local function hide(c) print("hiding") -- debug c.hidden = true local ctags = c:tags() for i, t in pairs(ctags) do ctags[i] = nil end c:tags(ctags) return end I find that the hide function is never called. .xsession-errors neither reports an error nor prints "hiding" message. -- Anurag Priyam, 3rd Year Undergraduate, Department of Mechanical Engineering, IIT Kharagpur. +91-9775550642