summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-26 19:50:35 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-26 19:50:35 +0000
commita33a6d17487ed9a19ff98e71a186cedd0290e3d3 (patch)
tree67916968f3d0cd3d6c98076e7a3390f29c757d7b /src/xfns.c
parent944bf56b113b87c6f6744ba4d0d3d5b7ed60860f (diff)
downloademacs-a33a6d17487ed9a19ff98e71a186cedd0290e3d3.tar.gz
(Qtitle): Declared.
(Fx_create_frame): Initialize title parameter. Don't use the title resource to initialize the name parameter.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 5d4480177c7..284cdac684e 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -196,7 +196,7 @@ Lisp_Object Qdisplay;
/* 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 @@ This function is an internal primitive--use `make-frame' instead.")
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 @@ This function is an internal primitive--use `make-frame' instead.")
"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);