From 3942672d31a8cb0ce68c164d8ef48c2199d4cb88 Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges Date: Wed, 29 Jul 2015 16:49:48 +0200 Subject: [PATCH] Fix missing parenthesis to a call of screen.focused Closes https://github.com/awesomeWM/awesome/pull/370. --- lib/awful/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/client.lua b/lib/awful/client.lua index 178a2f028..098545d6e 100644 --- a/lib/awful/client.lua +++ b/lib/awful/client.lua @@ -324,7 +324,7 @@ end -- @tparam[opt=false] boolean stacked Use stacking order? function client.focus.global_bydirection(dir, c, stacked) local sel = c or capi.client.focus - local scr = sel and sel.screen or screen.focused + local scr = sel and sel.screen or screen.focused() -- change focus inside the screen client.focus.bydirection(dir, sel)