Don't clear output on all screens

When parsing information into lemonbar, assume per-screen means that --
don't clear all the screens at once.  Let individual requests to be
drawn on screen to be for that specified monitor.
This commit is contained in:
Thomas Adam 2017-06-08 11:54:30 +01:00
parent bd6cb2edc1
commit 7ba5028697

View File

@ -600,9 +600,6 @@ parse (char *text)
// Reset the stack position // Reset the stack position
area_stack.at = 0; area_stack.at = 0;
for (monitor_t *m = monhead; m != NULL; m = m->next)
fill_rect(m->pixmap, gc[GC_CLEAR], 0, 0, m->width, bh);
/* Create xft drawable */ /* Create xft drawable */
if (!(xft_draw = XftDrawCreate (dpy, cur_mon->pixmap, visual_ptr , colormap))) { if (!(xft_draw = XftDrawCreate (dpy, cur_mon->pixmap, visual_ptr , colormap))) {
fprintf(stderr, "Couldn't create xft drawable\n"); fprintf(stderr, "Couldn't create xft drawable\n");