From: Dana Jansens Date: Sat, 2 Jun 2007 15:38:28 +0000 (+0000) Subject: allow negative menu overlap, the same as in trunk X-Git-Tag: openbox-3_3_995-RELEASE~14 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=066ec066004e61f6b45383a2b6451bb171db2b72;p=dana%2Fopenbox.git allow negative menu overlap, the same as in trunk --- diff --git a/render/theme.c b/render/theme.c index c85e3d12..d28b79fd 100644 --- a/render/theme.c +++ b/render/theme.c @@ -170,7 +170,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, /* load direct dimensions */ if (!read_int(db, "menu.overlap", &theme->menu_overlap) || - theme->menu_overlap < 0 || theme->menu_overlap > 20) + theme->menu_overlap < -100 || theme->menu_overlap > 100) theme->menu_overlap = 0; if (!read_int(db, "window.handle.width", &theme->handle_height) || theme->handle_height < 0 || theme->handle_height > 100)