tunderline match - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7f36736d11418b0b11d02da8aa0cb663406706c2
 (DIR) parent 115c01b74ebd57382679bec5c6e1ff5604370cbf
 (HTM) Author: Connor Lane Smith <cls@lubutu.com>
       Date:   Fri, 30 Jul 2010 10:26:12 +0100
       
       underline match
       Diffstat:
         dmenu.c                             |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/dmenu.c b/dmenu.c
       t@@ -158,8 +158,13 @@ drawbar(void) {
        
        void
        drawitem(const char *s, unsigned long col[ColLast]) {
       +        const char *p;
       +        unsigned int w = textnw(&dc, text, strlen(text));
       +
                drawbox(&dc, col);
                drawtext(&dc, s, col);
       +        for(p = fstrstr(s, text); *text && (p = fstrstr(p, text)); p++)
       +                drawline(&dc, textnw(&dc, s, p-s) + dc.h/2 - 1, dc.h-2, w, 1, col);
        }
        
        void