fade shaded window icons a bit, and iconified ones a bit more
authorMikael Magnusson <mikachu@comhem.se>
Tue, 5 Jun 2007 02:39:59 +0000 (02:39 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Tue, 5 Jun 2007 02:39:59 +0000 (02:39 +0000)
rspanel.c

index 6d70054..18b566c 100644 (file)
--- a/rspanel.c
+++ b/rspanel.c
@@ -507,7 +507,7 @@ static void gui_draw_task(task *tk, int redraw)
         a_icon->surface.parenty = PADDING;
         d->width = i->width;
         d->height = i->height;
-        d->alpha = 0xff;
+        d->alpha = tk->iconified ? 0x80 : tk->shaded ? 0xB0 : 0xff;
         d->data = i->data;
     }