Enforce the presence of `window-system' and `tty-type' frame parameters in all frames.
authorKaroly Lorentey <lorentey@elte.hu>
Wed, 7 Sep 2005 23:28:54 +0000 (23:28 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Wed, 7 Sep 2005 23:28:54 +0000 (23:28 +0000)
commit5b65d888a676b023b7232b460105551e51a58a13
treee4de724a9d0b94abe002537267adf38f6f80b76b
parentb8c89bf6382f885d1d20e94a617d55ea0709b023
Enforce the presence of `window-system' and `tty-type' frame parameters in all frames.

* src/dispnew.c (init_display): Set up `window-system' and `tty-type'
  frame parameters in the initial tty frame.

* src/frame.c (Fmake_terminal_frame): Look up the `tty-type' frame
  parameter, not `tty' when discovering the tty type of the new frame.
  Initialize `tty' and `tty-type' frame parameters in the new frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-402
README.multi-tty
src/dispnew.c
src/frame.c