From 7ba502869797c476bae7c7638d6ab9f30527a7c2 Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Thu, 8 Jun 2017 11:54:30 +0100 Subject: [PATCH] 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. --- lemonbar.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lemonbar.c b/lemonbar.c index dca2297..6d4cd6a 100644 --- a/lemonbar.c +++ b/lemonbar.c @@ -600,9 +600,6 @@ parse (char *text) // Reset the stack position 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 */ if (!(xft_draw = XftDrawCreate (dpy, cur_mon->pixmap, visual_ptr , colormap))) { fprintf(stderr, "Couldn't create xft drawable\n");