Update monitors when we finish creating them.
parent
b75d7cb4e2
commit
fe5c722969
|
|
@ -379,6 +379,7 @@ void setup(void) {
|
||||||
monitor->bar = bar_create(monitor->hotspots, monitor->pipeline);
|
monitor->bar = bar_create(monitor->hotspots, monitor->pipeline);
|
||||||
if (!monitor->pipeline || !monitor->bar)
|
if (!monitor->pipeline || !monitor->bar)
|
||||||
panic("Failed to create a pipline or bar for monitor: %s", monitor->xdg_name);
|
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)
|
if (fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK) < 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue