Pass unrecognized start= parameters to compositor

This commit is contained in:
Kevin Lange 2015-06-18 21:48:28 -07:00
parent 16d1956e64
commit 2c551fd81b

View File

@ -77,6 +77,9 @@ int main(int argc, char * argv[]) {
return start_options((char *[]){"/bin/compositor","--","/bin/terminal","-Fl",args,NULL});
} else if (!strcmp(argv[1], "--vga")) {
return start_options((char *[]){"/bin/terminal-vga","-l",NULL});
} else {
/* Pass it to the compositor... */
return start_options((char *[]){"/bin/compositor","--",argv[1],NULL});
}
}
return start_options((char *[]){"/bin/compositor",NULL});