THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#888 - add ban and unban client signals
User who did this - Uli Schlachter (psychon)

----------
This should be 3.4 config syntax, but I haven't tested anything:

client:add_signal("new", function(c)
  local banned = c:isvisible()
  function update()
     local state = c:isvisible()
     if state == banned then return end
     banned = state
     if banned then
         c:emit_signal"ban")
     else
        c:emit_signal("unban")
    end
  end
  awful.tag.attached_add_signal(nil, "property::selected", update)
  for k, v in pairs({"tagged", "untagged", "property::type", 
"property::sticky"}) do
     c:add_signal(v, update)
 end
end)
----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=888#comment2607

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

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

Reply via email to