|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
|
|
|
|
|
|
if (!parseIndices(value, &indices)) { |
|
|
if (!parseIndices(value, &indices)) { |
|
|
vlog.error(_("Invalid FullScreenSelectedMonitors configuration")); |
|
|
|
|
|
|
|
|
vlog.error(_("Invalid configuration specified for %s"), name); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
current.push_back(d); |
|
|
current.push_back(d); |
|
|
else if (d == ',') { |
|
|
else if (d == ',') { |
|
|
if (!parseNumber(current, indices)) { |
|
|
if (!parseNumber(current, indices)) { |
|
|
vlog.error(_("Invalid monitor index '%s' in FullScreenSelectedMonitors"), current.c_str()); |
|
|
|
|
|
|
|
|
vlog.error(_("Invalid monitor index '%s'"), current.c_str()); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
current.clear(); |
|
|
current.clear(); |
|
|
} else { |
|
|
} else { |
|
|
vlog.error(_("Unexpected character '%c' in FullScreenSelectedMonitors"), d); |
|
|
|
|
|
|
|
|
vlog.error(_("Unexpected character '%c'"), d); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |