Run the autostart commands.

next
Fernando Tarlá Cardoso Lemos 2010-11-22 21:40:05 -02:00 committed by Michael Stapelberg
parent 2faac65237
commit 1d52bf179b
1 changed files with 9 additions and 0 deletions

View File

@ -338,5 +338,14 @@ int main(int argc, char *argv[]) {
manage_existing_windows(root);
/* Autostarting exec-lines */
if (autostart) {
struct Autostart *exec;
TAILQ_FOREACH(exec, &autostarts, autostarts) {
LOG("auto-starting %s\n", exec->command);
start_application(exec->command);
}
}
ev_loop(loop, 0);
}