diff --git a/rc.lua b/rc.lua index 69b3172..45750d9 100644 --- a/rc.lua +++ b/rc.lua @@ -202,9 +202,7 @@ mytasklist = {} mytasklist.buttons = awful.util.table.join( awful.button({ }, 1, function (c) - if c == client.focus then - c.minimized = true - else + if c ~= client.focus then -- Without this, the following -- :isvisible() makes no sense c.minimized = false