Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/macterm.c Wed May 30 14:44:47 2007 +0000 +++ b/src/macterm.c Mon Jun 04 02:16:32 2007 +0000 @@ -11870,7 +11870,6 @@ terminal->display_info.mac = dpyinfo; dpyinfo->terminal = terminal; - terminal->rif = &x_redisplay_interface; terminal->clear_frame_hook = x_clear_frame; terminal->ins_del_lines_hook = x_ins_del_lines; terminal->delete_glyphs_hook = x_delete_glyphs; @@ -11885,12 +11884,15 @@ terminal->mouse_position_hook = XTmouse_position; terminal->frame_rehighlight_hook = XTframe_rehighlight; terminal->frame_raise_lower_hook = XTframe_raise_lower; - - terminal->set_vertical_scroll_bar_hook = XTset_vertical_scroll_bar; - terminal->condemn_scroll_bars_hook = XTcondemn_scroll_bars; - terminal->redeem_scroll_bar_hook = XTredeem_scroll_bar; - terminal->judge_scroll_bars_hook = XTjudge_scroll_bars; - + /* terminal->fullscreen_hook = XTfullscreen_hook; */ + terminal->set_vertical_scroll_bar_hook = XTset_vertical_scroll_bar; + terminal->condemn_scroll_bars_hook = XTcondemn_scroll_bars; + terminal->redeem_scroll_bar_hook = XTredeem_scroll_bar; + terminal->judge_scroll_bars_hook = XTjudge_scroll_bars; + terminal->delete_frame_hook = x_destroy_window; + /* terminal->delete_terminal_hook = x_delete_terminal; */ + + terminal->rif = &x_redisplay_interface; #if 0 TTY_SCROLL_REGION_OK (CURTTY ()) = 1; /* we'll scroll partial frames */ TTY_CHAR_INS_DEL_OK (CURTTY ()) = 1;