Mercurial > emacs
diff src/xfns.c @ 83016:1d7467694692
Fix initialization of the window-system variable.
lisp/faces.el (x-create-frame-with-faces)
(tty-create-frame-with-faces): Don't set the window-system parameter
here, it seems to be unreliable.
lisp/frame.el (make-frame): Don't forget to return the new frame (d'oh).
src/frame.c (Qwindow_system): New symbol.
(syms_of_frame): Intern it.
(Fmake_terminal_frame): Initialize window-system frame parameter.
src/frame.h (Qwindow_system): New declaration.
src/xfns.c (Fx_create_frame, x_create_tip_frame): Initialize
window-system frame parameter.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-56
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 12 Jan 2004 00:45:42 +0000 |
parents | f5cadabb36dd |
children | 03a73693678e |
line wrap: on
line diff
--- a/src/xfns.c Sun Jan 11 23:12:24 2004 +0000 +++ b/src/xfns.c Mon Jan 12 00:45:42 2004 +0000 @@ -3334,6 +3334,8 @@ specbind (Qx_resource_name, name); } + Fmodify_frame_parameters (frame, Fcons (Fcons (Qwindow_system, Qx), Qnil)); + /* Extract the window parameters from the supplied values that are needed to determine window geometry. */ { @@ -10210,6 +10212,8 @@ Qnil)); } + Fmodify_frame_parameters (frame, Fcons (Fcons (Qwindow_system, Qx), Qnil)); + f->no_split = 1; UNGCPRO;