patch-window.c - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
 (HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       patch-window.c
       ---
            1 $NetBSD$
            2 
            3 Adjust bar colors.
            4 
            5 --- window.c.orig       2019-01-26 13:54:40.000000000 +0000
            6 +++ window.c
            7 @@ -446,10 +446,7 @@ void win_draw_bar(win_t *win)
            8         d = XftDrawCreate(e->dpy, win->buf.pm, DefaultVisual(e->dpy, e->scr),
            9                           DefaultColormap(e->dpy, e->scr));
           10  
           11 -       if (win->fullscreen && !win->light)
           12 -               bg = &win->bg, fg = &win->fg;
           13 -       else
           14 -               bg = &win->fg, fg = &win->bg;
           15 +       bg = &win->bg, fg = &win->fg;
           16  
           17         XSetForeground(e->dpy, gc, bg->pixel);
           18         XFillRectangle(e->dpy, win->buf.pm, gc, 0, win->h, win->w, win->bar.h);