You're right, I didn't check other usages.
Please dump this patch, it brings in way more problems than it fixes - I
don't think that looking up in tons of directories a random user-specified
file name is very safe.
I'll resubmit only the relevant bits to prevent crashing if no config file.
Alex
This patch only instructs the main compositor process to use the command-line
specified
configuration file. What about the other things that depend on settings from
the configuration
file: window.c, tablet-shell.c, desktop-shell.c, and terminal.c? Those all load
weston.ini using
the default