Update monitors when we finish creating them.

master
MadcowOG 2023-04-27 23:01:38 -07:00
parent b75d7cb4e2
commit fe5c722969
1 changed files with 1 additions and 0 deletions

View File

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