mirror of
https://github.com/davatorium/rofi.git
synced 2025-03-03 16:05:20 -05:00
Remove error check for large windows as it is incorrect often. Fix issue 468
This commit is contained in:
parent
f6755d8a18
commit
eb5f169af0
1 changed files with 0 additions and 9 deletions
|
@ -553,15 +553,6 @@ int config_sanity_check ( void )
|
|||
g_string_append_printf ( msg, "\t<b>config.monitor</b>=%s Could not find monitor.\n", name );
|
||||
found_error = TRUE;
|
||||
}
|
||||
// Have todo an estimate here.
|
||||
if ( ( 2 * ( config.padding + config.menu_bw ) ) > ( 0.9 * ssize ) ) {
|
||||
g_string_append_printf ( msg, "\t<b>config.padding+config.menu_bw</b>=%d is too big for the minimum size of the monitor: %d.\n",
|
||||
( config.padding + config.menu_bw ), ssize );
|
||||
|
||||
config.padding = 0;
|
||||
config.menu_bw = 0;
|
||||
found_error = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if ( config.menu_font ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue