From 433444e2957436429b11ec15b60ddf264a93863e Mon Sep 17 00:00:00 2001 From: Aaron Brady Date: Mon, 29 Apr 2024 12:57:10 -0400 Subject: [PATCH] Don't gate clone check on monitor name being NULL --- lemonbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonbar.c b/lemonbar.c index 4657683..83d9677 100644 --- a/lemonbar.c +++ b/lemonbar.c @@ -1054,7 +1054,7 @@ get_randr_monitors (void) for (j = 0; j < num; j++) { // Does I contain J ? - if (i != j && mons[j].width && !mons[j].name) { + if (i != j && mons[j].width) { if (mons[j].x >= mons[i].x && mons[j].x + mons[j].width <= mons[i].x + mons[i].width && mons[j].y >= mons[i].y && mons[j].y + mons[j].height <= mons[i].y + mons[i].height) { mons[j].width = 0;