awesome/lib/wibox
Uli Schlachter e24c09e828 Update titlebar color when focus changes (FS#1056)
The current code relied on some widget to cause a redraw when the focus changes.
Obviously, this assumption is wrong.

Instead, the code now uses the proper "focus" and "unfocus" signals for setting
titlebar colors, but it also needs to set these colors when a new titlebar is
created (v1 of this patch forgot that). For this reason, update_colors has to be
saved for when a titlebar's colors are updated.

This commit also reverts the ugly redraw_hook hack from commit a1918b8306.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-11-29 16:52:19 +01:00
..
layout Fix warnings from LDoc 2012-11-19 15:35:32 +01:00
widget Fix errors from missing themes 2012-11-27 22:55:42 +01:00
drawable.lua.in Update titlebar color when focus changes (FS#1056) 2012-11-29 16:52:19 +01:00
init.lua.in wibox: Make the functions a little more object-y 2012-11-18 20:44:03 +01:00