diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 650df816..85dcadb9 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -234,7 +234,12 @@ clientkeys = awful.util.table.join( awful.key({ modkey, }, "o", awful.client.movetoscreen ), awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end), awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end), - awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end), + awful.key({ modkey, }, "n", + function (c) + -- The client currently has the input focus, so it cannot be + -- minimized, since minimized clients can't have the focus. + c.minimized = true + end), awful.key({ modkey, }, "m", function (c) c.maximized_horizontal = not c.maximized_horizontal