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 <psychon@znc.in>
This commit is contained in:
parent
e3e3fe70ef
commit
d3ba8aa072
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue