Merge pull request #1081 from Elv13/fix_screen_memory_leak
screen: Fix a memory leak.
This commit is contained in:
commit
67e82047b0
|
@ -30,7 +30,7 @@ local screen = {object={}}
|
|||
local data = {}
|
||||
data.padding = {}
|
||||
|
||||
screen.mouse_per_screen = {}
|
||||
screen.mouse_per_screen = setmetatable({}, {__mode="k"})
|
||||
|
||||
--- Take an input geometry and substract/add a delta
|
||||
-- @tparam table geo A geometry (width, height, x, y) table
|
||||
|
|
Loading…
Reference in New Issue