8dfe18a382
When doing w.shape_bounding = foo on a wibox, the code would first read shape_bounding from the underlying drawin. This would create a (possibly) huge cairo image surface that just waits to be collected by the garbage collector, resulting in increased memory usage. Fix this by checking the force_forward table first. This tables contains the names of shape properties. Thus, the evaluation of this statement gets short-circuited and the property is on the drawin is not read. Helps-with: https://github.com/awesomeWM/awesome/issues/1958 Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
container | ||
layout | ||
widget | ||
drawable.lua | ||
hierarchy.lua | ||
init.lua |