got tired of minimizing on taskbar click
This commit is contained in:
parent
1380f9b897
commit
6783b27e1f
1 changed files with 1 additions and 3 deletions
4
rc.lua
4
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
|
||||
|
|
Loading…
Reference in a new issue