diff --git a/awesomerc.lua.in b/awesomerc.lua.in index c1ec82ac..cbe2ba56 100755 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -262,7 +262,15 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end), awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end), - awful.key({ modkey, "Control" }, "n", awful.client.restore), + awful.key({ modkey, "Control" }, "n", + function () + c = awful.client.restore() + -- Focus restored client + if c then + client.focus = c + c:raise() + end + end), -- Prompt awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),