commit
aa7c7c80ee
|
@ -467,7 +467,7 @@ function notification:reset_timeout(new_timeout)
|
||||||
-- Do not set `self.timeout` to `self.timeout` since that would create the
|
-- Do not set `self.timeout` to `self.timeout` since that would create the
|
||||||
-- timer before the constructor ends.
|
-- timer before the constructor ends.
|
||||||
if new_timeout and self.timer then
|
if new_timeout and self.timer then
|
||||||
self.timeout = new_timeout or self.timeout
|
self.timeout = new_timeout
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.timer and not self.timer.started then
|
if self.timer and not self.timer.started then
|
||||||
|
|
|
@ -200,14 +200,6 @@ function client.gen_fake(args)
|
||||||
return ret.data._struts
|
return ret.data._struts
|
||||||
end
|
end
|
||||||
|
|
||||||
function ret:struts(new)
|
|
||||||
for k, v in pairs(new or {}) do
|
|
||||||
ret.data._struts[k] = v
|
|
||||||
end
|
|
||||||
|
|
||||||
return ret.data._struts
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Set a dummy one for now since set_screen will corrupt it.
|
-- Set a dummy one for now since set_screen will corrupt it.
|
||||||
ret._old_geo = {}
|
ret._old_geo = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue