Fix an invalid index in awful.rules
A rule like { focus = true } would cause debug::index::miss and debug::newindex::miss to be emitted. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
e0774377ca
commit
f89252962e
|
@ -121,6 +121,8 @@ function apply(c)
|
||||||
local geo = c:geometry();
|
local geo = c:geometry();
|
||||||
geo[property] = value
|
geo[property] = value
|
||||||
c:geometry(geo);
|
c:geometry(geo);
|
||||||
|
elseif property == "focus" then
|
||||||
|
-- This will be handled below
|
||||||
elseif type(c[property]) == "function" then
|
elseif type(c[property]) == "function" then
|
||||||
c[property](c, value)
|
c[property](c, value)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue