]> git.eshelyaron.com Git - emacs.git/commitdiff
Change default values.
authorPavel Janík <Pavel@Janik.cz>
Mon, 29 Apr 2002 09:10:28 +0000 (09:10 +0000)
committerPavel Janík <Pavel@Janik.cz>
Mon, 29 Apr 2002 09:10:28 +0000 (09:10 +0000)
lwlib/xlwmenu.c

index d98ce469f9f87a4aa333bd35110422823f0b6e50..691213ab3bedc0b7c93c915d94aabe9bc1c24b57 100644 (file)
@@ -129,7 +129,7 @@ xlwMenuTranslations [] =
 
 /* FIXME: Should ESC close one level of menu structure or the complete menu?  */
 
-/* FIXME: Should F10 enter to menu?  Which one?  File?  */
+/* FIXME: F10 should enter the menu, the first one in the menu-bar.  */
 
 #define offset(field) XtOffset(XlwMenuWidget, field)
 static XtResource
@@ -142,17 +142,17 @@ xlwMenuResources[] =
   {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel),
      offset(menu.button_foreground), XtRString, "XtDefaultForeground"},
   {XtNmargin, XtCMargin, XtRDimension,  sizeof(Dimension),
-     offset(menu.margin), XtRImmediate, (XtPointer) 4},
+     offset(menu.margin), XtRImmediate, (XtPointer)1},
   {XtNhorizontalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
      offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3},
   {XtNverticalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
-     offset(menu.vertical_spacing), XtRImmediate, (XtPointer)1},
+     offset(menu.vertical_spacing), XtRImmediate, (XtPointer)2},
   {XtNarrowSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
      offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10},
 
   {XmNshadowThickness, XmCShadowThickness, XtRDimension,
      sizeof (Dimension), offset (menu.shadow_thickness),
-     XtRImmediate, (XtPointer) 2},
+     XtRImmediate, (XtPointer)1},
   {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel),
      offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1},
   {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel),