ba75da7976
cairo_get_source() is not bound correctly, leading to use-after-free bugs. Cairo catches this and crashes. Work around this by preserving the current source in a different way. Instead of using cairo_get_source() and later cairo_set_source(), this commit wraps everything that changes the current source between cairo_save() and cairo_restore(). Thus, cairo saves the current source for us without us having to grab an explicit reference. Works-around: https://github.com/pavouk/lgi/issues/210 Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
awful | ||
beautiful | ||
gears | ||
menubar | ||
naughty | ||
wibox | ||
beautiful.lua | ||
naughty.lua |