mirror of https://github.com/davatorium/rofi.git
Don't force an second error when monitor is not found.
This commit is contained in:
parent
ef3c773097
commit
99cb1e6f11
|
@ -498,7 +498,7 @@ int config_sanity_check ( void )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_string_append_printf ( msg, "\t<b>config.monitor</b>=%s Could not find monitor.\n", name );
|
g_string_append_printf ( msg, "\t<b>config.monitor</b>=%s Could not find monitor.\n", name );
|
||||||
ssize = 0;
|
found_error = TRUE;
|
||||||
}
|
}
|
||||||
// Have todo an estimate here.
|
// Have todo an estimate here.
|
||||||
if ( ( 2 * ( config.padding + config.menu_bw ) ) > ( 0.9 * ssize ) ) {
|
if ( ( 2 * ( config.padding + config.menu_bw ) ) > ( 0.9 * ssize ) ) {
|
||||||
|
|
Loading…
Reference in New Issue