• Karoly Lorentey's avatar
    Cleanup: Move kboard fields from struct frame and device-specific descriptors to struct display. · bedb9c0e
    Karoly Lorentey authored
    * 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
    bedb9c0e
xfns.c 168 KB