9770986b6f
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> |
||
---|---|---|
.. | ||
color.lua.in | ||
debug.lua.in | ||
init.lua.in | ||
object.lua.in | ||
sort.lua.in | ||
surface.lua.in | ||
wallpaper.lua.in |