Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
change some old usage to new one
Browse files Browse the repository at this point in the history
  • Loading branch information
RMTT committed Sep 16, 2020
1 parent c5ba445 commit d3a258f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/fly/widget/tasklist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local tasklist = {}
local tasklist_buttons = awful.util.table.join(awful.button({},
1,
function(c)
if c == _G.client.focus then
if c.active then
c.minimized = true
else
-- Without this, the following
Expand All @@ -20,7 +20,7 @@ local tasklist_buttons = awful.util.table.join(awful.button({},
end
-- This will also un-minimize
-- the client, if needed
_G.client.focus = c
c:activate()
c:raise()
end
end),
Expand Down

0 comments on commit d3a258f

Please sign in to comment.