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(
|
mytasklist.buttons = awful.util.table.join(
|
||||||
awful.button({ }, 1,
|
awful.button({ }, 1,
|
||||||
function (c)
|
function (c)
|
||||||
if c == client.focus then
|
if c ~= client.focus then
|
||||||
c.minimized = true
|
|
||||||
else
|
|
||||||
-- Without this, the following
|
-- Without this, the following
|
||||||
-- :isvisible() makes no sense
|
-- :isvisible() makes no sense
|
||||||
c.minimized = false
|
c.minimized = false
|
||||||
|
|
Loading…
Reference in a new issue