awesome/lib
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
..
awful awful.tag: Apply a default layout to tags (#1952) 2017-07-29 13:58:45 -04:00
beautiful feat(beatiful: theme_assets; themes: xresources): recolor titlebar icons for `hover` and `press` states 2017-07-02 19:48:59 +02:00
gears debug: Add a signal for deprecation warnings (#1832) 2017-06-21 02:06:32 +02:00
menubar Specifies the wibox dependency on the menubar utils (#1953) 2017-07-30 13:42:20 -04:00
naughty Add notification_icon_size as a beautiful variable (#1951) 2017-07-29 15:58:52 +02:00
wibox Fix wibox to forward shapes directly 2017-08-04 13:10:14 +02:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00