This should be the expected behavior, imo.  Otherwise the client doesn't appear
in tasklist regardless of being focussed.

Signed-off-by: Anurag Priyam <[email protected]>
---
 lib/awful/client.lua.in |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in
index 79d5fa9..3795766 100644
--- a/lib/awful/client.lua.in
+++ b/lib/awful/client.lua.in
@@ -939,6 +939,9 @@ capi.client.connect_signal("manage", function(c)
c:connect_signal("property::urg
 capi.client.connect_signal("focus", urgent.delete)
 capi.client.connect_signal("unmanage", urgent.delete)

+-- un-hide the client when it regains focus
+capi.client.connect_signal("focus", function (c) c.hidden = false end)
+
 capi.client.connect_signal("unmanage", floating.delete)

 -- vim: 
filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
-- 
1.7.10

---

Sometimes I hide terminal and later bring it up with run_or_raise, but
the terminal wouldn't show in my tasklist.  That's how I arrived at
this patch.

-- 
Anurag Priyam

-- 
To unsubscribe, send mail to [email protected].

Reply via email to