Mercurial > emacs
comparison src/macterm.c @ 83630:28201311b297
* term.c (init_tty): Use terminal specific mouse_position_hook.
* macterm.c (mac_create_terminal): Indent and rearrange to be more
similar to the X11 version.
* config.in: Disable multi-keyboard support on a mac.
* loadup.el: Use a better feature test on a mac.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 04 Jun 2007 02:16:32 +0000 |
parents | 4c726a40604c |
children | cc587bfd19ca |
comparison
equal
deleted
inserted
replaced
83629:4c726a40604c | 83630:28201311b297 |
---|---|
11868 | 11868 |
11869 terminal->type = output_mac; | 11869 terminal->type = output_mac; |
11870 terminal->display_info.mac = dpyinfo; | 11870 terminal->display_info.mac = dpyinfo; |
11871 dpyinfo->terminal = terminal; | 11871 dpyinfo->terminal = terminal; |
11872 | 11872 |
11873 terminal->rif = &x_redisplay_interface; | |
11874 terminal->clear_frame_hook = x_clear_frame; | 11873 terminal->clear_frame_hook = x_clear_frame; |
11875 terminal->ins_del_lines_hook = x_ins_del_lines; | 11874 terminal->ins_del_lines_hook = x_ins_del_lines; |
11876 terminal->delete_glyphs_hook = x_delete_glyphs; | 11875 terminal->delete_glyphs_hook = x_delete_glyphs; |
11877 terminal->ring_bell_hook = XTring_bell; | 11876 terminal->ring_bell_hook = XTring_bell; |
11878 terminal->reset_terminal_modes_hook = XTreset_terminal_modes; | 11877 terminal->reset_terminal_modes_hook = XTreset_terminal_modes; |
11883 terminal->read_socket_hook = XTread_socket; | 11882 terminal->read_socket_hook = XTread_socket; |
11884 terminal->frame_up_to_date_hook = XTframe_up_to_date; | 11883 terminal->frame_up_to_date_hook = XTframe_up_to_date; |
11885 terminal->mouse_position_hook = XTmouse_position; | 11884 terminal->mouse_position_hook = XTmouse_position; |
11886 terminal->frame_rehighlight_hook = XTframe_rehighlight; | 11885 terminal->frame_rehighlight_hook = XTframe_rehighlight; |
11887 terminal->frame_raise_lower_hook = XTframe_raise_lower; | 11886 terminal->frame_raise_lower_hook = XTframe_raise_lower; |
11888 | 11887 /* terminal->fullscreen_hook = XTfullscreen_hook; */ |
11889 terminal->set_vertical_scroll_bar_hook = XTset_vertical_scroll_bar; | 11888 terminal->set_vertical_scroll_bar_hook = XTset_vertical_scroll_bar; |
11890 terminal->condemn_scroll_bars_hook = XTcondemn_scroll_bars; | 11889 terminal->condemn_scroll_bars_hook = XTcondemn_scroll_bars; |
11891 terminal->redeem_scroll_bar_hook = XTredeem_scroll_bar; | 11890 terminal->redeem_scroll_bar_hook = XTredeem_scroll_bar; |
11892 terminal->judge_scroll_bars_hook = XTjudge_scroll_bars; | 11891 terminal->judge_scroll_bars_hook = XTjudge_scroll_bars; |
11893 | 11892 terminal->delete_frame_hook = x_destroy_window; |
11893 /* terminal->delete_terminal_hook = x_delete_terminal; */ | |
11894 | |
11895 terminal->rif = &x_redisplay_interface; | |
11894 #if 0 | 11896 #if 0 |
11895 TTY_SCROLL_REGION_OK (CURTTY ()) = 1; /* we'll scroll partial frames */ | 11897 TTY_SCROLL_REGION_OK (CURTTY ()) = 1; /* we'll scroll partial frames */ |
11896 TTY_CHAR_INS_DEL_OK (CURTTY ()) = 1; | 11898 TTY_CHAR_INS_DEL_OK (CURTTY ()) = 1; |
11897 TTY_LINE_INS_DEL_OK (CURTTY ()) = 1; /* we'll just blt 'em */ | 11899 TTY_LINE_INS_DEL_OK (CURTTY ()) = 1; /* we'll just blt 'em */ |
11898 TTY_FAST_CLEAR_END_OF_LINE (CURTTY ()) = 1; /* X does this well */ | 11900 TTY_FAST_CLEAR_END_OF_LINE (CURTTY ()) = 1; /* X does this well */ |