https://github.com/BestImageViewer/geeqie/issues/796
If multiple windows are defined in the config. file, command line
options are used only in the main window.
if (attribute_names) layout_load_attributes(&lop, attribute_names, attribute_values);
- if (use_commandline)
+ /* If multiple windows are specified in the config. file,
+ * use the command line options only in the main window.
+ */
+ if (use_commandline && (g_strcmp0(lop.id, "main") == 0))
{
layout_config_commandline(&lop, &path);
}