awesome/lib/wibox
Uli Schlachter 1924ee9e6e 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 14:58:14 +01:00
..
layout Added Comments 2014-03-13 12:11:20 +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 14:58:14 +01:00
init.lua.in Add awesome.register_xproperty (FS#1212) 2014-03-07 16:17:40 +01:00