]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_internal_border_width, Fx_create_frame):
authorRichard M. Stallman <rms@gnu.org>
Fri, 27 Sep 1996 06:53:49 +0000 (06:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 27 Sep 1996 06:53:49 +0000 (06:53 +0000)
Call widget_store_internal_border.
(Fx_create_frame): Don't use a superclass when
checking for an internalBorder resource.

src/xfns.c

index 96592c6decf4011a77612f6b4fdd298638336231..76ad6f2412f16133f0beeba99412c04e83d3b46b 100644 (file)
@@ -1632,6 +1632,10 @@ x_set_internal_border_width (f, arg, oldval)
   if (f->output_data.x->internal_border_width < 0)
     f->output_data.x->internal_border_width = 0;
 
+  if (f->output_data.x->edit_widget)
+    widget_store_internal_border (f->output_data.x->edit_widget,
+                                 f->output_data.x->internal_border_width);
+
   if (f->output_data.x->internal_border_width == old)
     return;
 
@@ -3201,13 +3205,13 @@ This function is an internal primitive--use `make-frame' instead.")
       Lisp_Object value;
 
       value = x_get_arg (parms, Qinternal_border_width,
-                        "internalBorder", "BorderWidth", number);
+                        "internalBorder", "internalBorder", number);
       if (! EQ (value, Qunbound))
        parms = Fcons (Fcons (Qinternal_border_width, value),
                       parms);
     }
   x_default_parameter (f, parms, Qinternal_border_width, make_number (1),
-                      "internalBorderWidth", "BorderWidth", number);
+                      "internalBorderWidth", "internalBorderWidth", number);
   x_default_parameter (f, parms, Qvertical_scroll_bars, Qleft,
                       "verticalScrollBars", "ScrollBars", boolean);