1
0
Fork 0
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:
Dave Davenport 2016-10-13 18:11:15 +02:00
parent f6755d8a18
commit eb5f169af0

View file

@ -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 ) {