From 3f40feb3c47f36a3b9ccbe18d04dd4c4a2e04774 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Tue, 1 Mar 2011 02:23:18 +0100 Subject: [PATCH] Correct typo in awful.client.restore This corrects a type in awful.client.restore which caused it not to restore any client at all if all clients are minimized. Signed-off-by: Uli Schlachter --- lib/awful/client.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index a0d79428..0ab5f139 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -644,7 +644,7 @@ end -- @param s The screen to use. -- @return True if some client was restored. function restore(s) - local s = s or (capi.client.focus and capi.client.focus.screen) or mouse.screen + local s = s or (capi.client.focus and capi.client.focus.screen) or capi.mouse.screen local cls = capi.client.get(s) local tags = tag.selectedlist(s) local mcls = {} -- 2.11.4.GIT