From eb5f169af0f7819b2520b996c2335c1e0af9c088 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 13 Oct 2016 18:11:15 +0200 Subject: Remove error check for large windows as it is incorrect often. Fix issue 468 --- source/helper.c | 9 --------- 1 file changed, 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, "\tconfig.monitor=%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, "\tconfig.padding+config.menu_bw=%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 ) { -- cgit v1.2.3