diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-10-13 18:11:15 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-10-13 18:11:15 +0200 |
commit | eb5f169af0f7819b2520b996c2335c1e0af9c088 (patch) | |
tree | bca3b76ba3ec254b608f475574fac7bcc73bcaca | |
parent | f6755d8a1836befe60bf27acc381be2f07845ced (diff) |
Remove error check for large windows as it is incorrect often. Fix issue 468
-rw-r--r-- | source/helper.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/helper.c b/source/helper.c index 9e420c91..d634a918 100644 --- a/source/helper.c +++ b/source/helper.c @@ -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 ) { |