Skip to content

Commit

Permalink
fixed minimized clients getting unminimized after restart
Browse files Browse the repository at this point in the history
  • Loading branch information
Elena committed Feb 9, 2019
1 parent ab47134 commit 55bae72
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/awesome/rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -774,15 +774,14 @@ client.connect_signal('property::geometry',
)

-- Make rofi able to unminimize minimized clients
-- Note: causes clients to unminimize after restarting awesome
client.connect_signal("request::activate",
function(c, context, hints)
client.connect_signal("request::activate", function(c, context, hints)
if not awesome.startup then
if c.minimized then
c.minimized = false
end
awful.ewmh.activate(c, context, hints)
end
)
end)

-- Startup applications
awful.spawn.with_shell( os.getenv("HOME") .. "/.config/awesome/autostart.sh")
Expand Down

0 comments on commit 55bae72

Please sign in to comment.