diff options
| author | Dan Nicolaescu | 2007-06-04 02:16:32 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-06-04 02:16:32 +0000 |
| commit | 88acaaf20b2fd0af64eea1b5d4f8fa8227c32e86 (patch) | |
| tree | c87acbf5ad6c808ce999cb4cf0c576b0a0318376 /src/macterm.c | |
| parent | 34c6724464237db4bfd5b3fa57e8b0f66a92f618 (diff) | |
| download | emacs-88acaaf20b2fd0af64eea1b5d4f8fa8227c32e86.tar.gz emacs-88acaaf20b2fd0af64eea1b5d4f8fa8227c32e86.zip | |
* 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.
Diffstat (limited to 'src/macterm.c')
| -rw-r--r-- | src/macterm.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/macterm.c b/src/macterm.c index 1faf72485ce..0b8fec3a089 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -11870,7 +11870,6 @@ mac_create_terminal (struct mac_display_info *dpyinfo) | |||
| 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; |
| @@ -11885,12 +11884,15 @@ mac_create_terminal (struct mac_display_info *dpyinfo) | |||
| 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; |
| 11887 | /* terminal->fullscreen_hook = XTfullscreen_hook; */ | ||
| 11888 | terminal->set_vertical_scroll_bar_hook = XTset_vertical_scroll_bar; | ||
| 11889 | terminal->condemn_scroll_bars_hook = XTcondemn_scroll_bars; | ||
| 11890 | terminal->redeem_scroll_bar_hook = XTredeem_scroll_bar; | ||
| 11891 | terminal->judge_scroll_bars_hook = XTjudge_scroll_bars; | ||
| 11892 | terminal->delete_frame_hook = x_destroy_window; | ||
| 11893 | /* terminal->delete_terminal_hook = x_delete_terminal; */ | ||
| 11888 | 11894 | ||
| 11889 | terminal->set_vertical_scroll_bar_hook = XTset_vertical_scroll_bar; | 11895 | terminal->rif = &x_redisplay_interface; |
| 11890 | terminal->condemn_scroll_bars_hook = XTcondemn_scroll_bars; | ||
| 11891 | terminal->redeem_scroll_bar_hook = XTredeem_scroll_bar; | ||
| 11892 | terminal->judge_scroll_bars_hook = XTjudge_scroll_bars; | ||
| 11893 | |||
| 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; |