changeset 14381:4d038c841cf4

(Qtitle): Declared. (Fx_create_frame): Initialize title parameter. Don't use the title resource to initialize the name parameter.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Jan 1996 19:50:35 +0000
parents 874cd82cd2b4
children d74d8edde304
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Fri Jan 26 19:49:01 1996 +0000
+++ b/src/xfns.c	Fri Jan 26 19:50:35 1996 +0000
@@ -196,7 +196,7 @@
 
 /* The below are defined in frame.c.  */
 extern Lisp_Object Qheight, Qminibuffer, Qname, Qonly, Qwidth;
-extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate;
+extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate, Qtitle;
 
 extern Lisp_Object Vwindow_system_version;
 
@@ -2939,7 +2939,7 @@
   kb = &the_only_kboard;
 #endif
 
-  name = x_get_arg (parms, Qname, "title", "Title", string);
+  name = x_get_arg (parms, Qname, "name", "Name", string);
   if (!STRINGP (name)
       && ! EQ (name, Qunbound)
       && ! NILP (name))
@@ -3094,6 +3094,8 @@
 		       "scrollBarWidth", "ScrollBarWidth", number);
   x_default_parameter (f, parms, Qbuffer_predicate, Qnil,
 		       "bufferPredicate", "BufferPredicate", symbol);
+  x_default_parameter (f, parms, Qtitle, Qnil,
+		       "title", "Title", symbol);
 
   f->output_data.x->parent_desc = FRAME_X_DISPLAY_INFO (f)->root_window;
   window_prompting = x_figure_window_size (f, parms);