diff options
| author | Karoly Lorentey | 2005-06-27 00:56:21 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-06-27 00:56:21 +0000 |
| commit | bedb9c0eda660f7dc516543be25db37b5f95e03b (patch) | |
| tree | 7c47185d6b01dd86453399a966c29ea4dfe70f9b /src/termhooks.h | |
| parent | d66d64bc20de2e172859b2c3f08d05bb2f813c00 (diff) | |
| download | emacs-bedb9c0eda660f7dc516543be25db37b5f95e03b.tar.gz emacs-bedb9c0eda660f7dc516543be25db37b5f95e03b.zip | |
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
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 788b57e9d1e..86e9fd3469b 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -295,6 +295,11 @@ struct display | |||
| 295 | /* The name of the display device. Do not use this to identify the display. */ | 295 | /* The name of the display device. Do not use this to identify the display. */ |
| 296 | char *name; | 296 | char *name; |
| 297 | 297 | ||
| 298 | #ifdef MULTI_KBOARD | ||
| 299 | /* The device's keyboard object. */ | ||
| 300 | struct kboard *kboard; | ||
| 301 | #endif | ||
| 302 | |||
| 298 | /* Display-type dependent data shared amongst all frames on this display. */ | 303 | /* Display-type dependent data shared amongst all frames on this display. */ |
| 299 | union display_info | 304 | union display_info |
| 300 | { | 305 | { |