widgets: don't minimize using the task list

I have ever used that only by mistake.
This commit is contained in:
Vincent Bernat 2021-04-19 08:48:59 +02:00
parent a1df343f93
commit 26599c5961

View file

@ -244,9 +244,6 @@ local taglist = {}
local tasklist = {} local tasklist = {}
tasklist.buttons = awful.util.table.join( tasklist.buttons = awful.util.table.join(
awful.button({ }, 1, function (c) awful.button({ }, 1, function (c)
if c == client.focus then
c.minimized = true
else
if not c:isvisible() then if not c:isvisible() then
awful.tag.viewonly(c:tags()[1]) awful.tag.viewonly(c:tags()[1])
end end
@ -254,8 +251,7 @@ tasklist.buttons = awful.util.table.join(
-- the client, if needed -- the client, if needed
client.focus = c client.focus = c
c:raise() c:raise()
end end))
end))
for s = 1, screen.count() do for s = 1, screen.count() do
promptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright }) promptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })