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)