awesome/lib/wibox
Uli Schlachter 9770986b6f drawin: Only redraw on move with translucent background
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>
2014-03-16 15:38:39 +01:00
..
layout wibox.layout.margin: Add margins color parameter 2014-01-20 17:28:04 +01:00
widget wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00
drawable.lua.in drawin: Only redraw on move with translucent background 2014-03-16 15:38:39 +01:00
init.lua.in Add awesome.register_xproperty (FS#1212) 2014-03-07 16:17:40 +01:00