1924ee9e6e
If a drawable has an opaque background, we don't need pseudo transparency and thus its content don't change when it is moved. However, when we need pseudo transparency, then we have to redraw the drawable to apply the new background. Previously we just always did the redraw. This commit adds a helper function gears.color.create_opaque_pattern() that analyzes a cairo pattern for transparency. We use this new function to only redraw-on-move when there is actual pseudo transparency in effect. Otherwise, this redraw can be skipped. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
awful | ||
gears | ||
menubar | ||
wibox | ||
beautiful.lua.in | ||
naughty.lua.in |