]> git.eshelyaron.com Git - emacs.git/commit
Cleanup: Move kboard fields from struct frame and device-specific descriptors to...
authorKaroly Lorentey <lorentey@elte.hu>
Mon, 27 Jun 2005 00:56:21 +0000 (00:56 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Mon, 27 Jun 2005 00:56:21 +0000 (00:56 +0000)
commitbedb9c0eda660f7dc516543be25db37b5f95e03b
tree7c47185d6b01dd86453399a966c29ea4dfe70f9b
parentd66d64bc20de2e172859b2c3f08d05bb2f813c00
Cleanup: Move kboard fields from struct frame and device-specific descriptors to struct display.

* src/termhooks.h (display): New field: kboard.

* src/xterm.h (x_display_info): Remove kboard field.
* src/termchar.h (tty_display_info): Ditto.
* src/frame.h (frame): Ditto.
  (FRAME_KBOARD): Update.

* src/dispnew.c (init_display): Don't initialize kboard.
* src/frame.c (make_frame, make_initial_frame, make_terminal_frame): Ditto.

* src/frame.c (make_frame_without_minibuffer, Fdelete_frame): Update kboard access.
* src/keyboard.c (delete_kboard): Ditto.
* src/term.c (term_init): Ditto.
* src/xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
* src/xselect.c (x_handle_selection_clear): Ditto.
* src/xterm.c (x_term_init): Ditto.

* src/term.c (init_initial_display): Initialize kboard.
* src/xterm.c (x_term_init): Ditto.

* src/term.c (delete_tty): Remove kboard deletion.
  (delete_display): Delete kboard as well.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-363
src/dispnew.c
src/frame.c
src/frame.h
src/term.c
src/termchar.h
src/termhooks.h
src/xfns.c
src/xselect.c
src/xterm.c
src/xterm.h