Hi people, the attached patch fixes a little bug in next which lead to the tasklist not displaying the right background for urgent windows. Without this, the tasklist has bg_normal set as background even if the client is urgent.
--
Gregor Best
From 1e5be373f5837107e85a61241bbf1706605434f5 Mon Sep 17 00:00:00 2001
From: Gregor Best <[EMAIL PROTECTED]>
Date: Wed, 10 Dec 2008 16:36:38 +0100
Subject: [PATCH] awful.widget: fix tasklist urgent background
Signed-off-by: Gregor Best <[EMAIL PROTECTED]>
---
lib/awful/widget.lua.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/awful/widget.lua.in b/lib/awful/widget.lua.in
index 89d6735..a52981e 100644
--- a/lib/awful/widget.lua.in
+++ b/lib/awful/widget.lua.in
@@ -318,7 +318,7 @@ local function widget_tasklist_label_common(c, args)
text = text .. name
end
elseif c.urgent and fg_urgent then
- local bg = bg_urgent
+ bg = bg_urgent
text = text .. "<span color='"..util.color_strip_alpha(fg_urgent).."'>"..name.."</span>"
else
text = text .. name
--
1.6.0.4
signature.asc
Description: PGP signature
