diff --git a/bar.c b/bar.c index abdd1d7..5365b0a 100644 --- a/bar.c +++ b/bar.c @@ -575,6 +575,10 @@ parse (char *text) p++; continue; } + XftDrawDestroy (xft_draw); + if (!(xft_draw = XftDrawCreate (dpy, cur_mon->pixmap, visual_ptr , colormap ))) { + fprintf(stderr, "Couldn't create xft drawable\n"); + } p++; pos_x = 0;