Fix missing parenthesis to a call of screen.focused

Closes https://github.com/awesomeWM/awesome/pull/370.
This commit is contained in:
Abdo Roig-Maranges 2015-07-29 16:49:48 +02:00 committed by Daniel Hahler
parent d5eef64a5d
commit 3942672d31
1 changed files with 1 additions and 1 deletions

View File

@ -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)