allow negative menu overlap, the same as in trunk
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 15:38:28 +0000 (15:38 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 15:38:28 +0000 (15:38 +0000)
render/theme.c

index c85e3d1286b0b427879c50cef1dc1471a24ed28c..d28b79fd5166c97a3bd9f909d4a11bec1132d36c 100644 (file)
@@ -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)