From fe5c722969f8cff43d261da89372e8531ae550a8 Mon Sep 17 00:00:00 2001 From: MadcowOG Date: Thu, 27 Apr 2023 23:01:38 -0700 Subject: [PATCH] Update monitors when we finish creating them. --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 8d869c8..b470944 100644 --- a/src/main.c +++ b/src/main.c @@ -379,6 +379,7 @@ void setup(void) { monitor->bar = bar_create(monitor->hotspots, monitor->pipeline); if (!monitor->pipeline || !monitor->bar) panic("Failed to create a pipline or bar for monitor: %s", monitor->xdg_name); + monitor_update(monitor); } if (fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK) < 0)