Skip to content

Commit

Permalink
Fix nil value error.
Browse files Browse the repository at this point in the history
The 'cyclefocus' variable was referred to at definition time. This
caused the variable to be always nil. Defining the variable before
assigning fixes this.

Fixes #3
  • Loading branch information
siebz0r committed Mar 3, 2014
1 parent c989a5d commit 7591379
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ local capi = {


-- Configuration. This can be overridden.
local cyclefocus = {
local cyclefocus
cyclefocus = {
-- Should clients be raised during cycling? (overrides focus_clients)
raise_clients = true,
-- Should clients be focused during cycling? (overridden by raise_clients)
Expand Down

0 comments on commit 7591379

Please sign in to comment.