From d3ba8aa072ca5fee20ae32925b3c23393ca55af4 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 28 Apr 2011 20:14:11 +0200 Subject: [PATCH] Clarify the mod+n keybinding Minimized clients can't have the input focus, so this key binding can't be used for unminimizing them. Hopefully this clarifies the reason why. Signed-off-by: Uli Schlachter --- awesomerc.lua.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 051cdff4..28e35048 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -236,7 +236,12 @@ clientkeys = awful.util.table.join( awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end), awful.key({ modkey, }, "o", awful.client.movetoscreen ), 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 -- 2.11.4.GIT