awesome/lib/wibox
Uli Schlachter 8dfe18a382 Fix wibox to forward shapes directly
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>
2017-08-04 13:10:14 +02:00
..
container mirror: Fix documentation 2017-06-26 02:27:20 -04:00
layout stack: Add offset support 2017-06-26 02:27:20 -04:00
widget wibox.widget.calendar: Stop using make_widget_declarative 2017-07-09 19:00:16 +02:00
drawable.lua Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
hierarchy.lua wibox.hierarchy: Only count "really visible" widgets 2017-03-11 18:44:56 +01:00
init.lua Fix wibox to forward shapes directly 2017-08-04 13:10:14 +02:00