corner layout: Properly "local"ize variables
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
f2e74994f2
commit
a64cd26f62
|
@ -34,8 +34,8 @@ local function do_corner(p, orientation)
|
||||||
master.width = master_factor * wa.width
|
master.width = master_factor * wa.width
|
||||||
master.height = master_factor * wa.height
|
master.height = master_factor * wa.height
|
||||||
|
|
||||||
number_privileged_win = math.ceil((#cls - 1)/2)
|
local number_privileged_win = math.ceil((#cls - 1)/2)
|
||||||
number_unprivileged_win = (#cls - 1) - number_privileged_win
|
local number_unprivileged_win = (#cls - 1) - number_privileged_win
|
||||||
|
|
||||||
-- Define some obvious parameters
|
-- Define some obvious parameters
|
||||||
column.width = wa.width - master.width
|
column.width = wa.width - master.width
|
||||||
|
|
Loading…
Reference in New Issue