Fixes multi-monitor drawing

This commit is contained in:
krypt-n 2014-10-09 22:01:23 +02:00
parent f834c13ea0
commit 6be47235d4

4
bar.c
View File

@ -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;