awesome/lib
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
..
awful awful.tooltip: Work with all gears.colors as foreground 2014-03-16 15:38:35 +01:00
gears drawin: Only redraw on move with translucent background 2014-03-16 15:38:39 +01:00
menubar menubar: Fix API docs 2013-12-30 00:17:07 +01:00
wibox drawin: Only redraw on move with translucent background 2014-03-16 15:38:39 +01:00
beautiful.lua.in Fix errors from missing themes 2012-11-27 22:55:42 +01:00
naughty.lua.in naughty: fix ldoc 2014-02-22 16:35:17 +01:00