diff src/term.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/term.c	Wed May 30 14:44:47 2007 +0000
+++ b/src/term.c	Mon Jun 04 02:16:32 2007 +0000
@@ -3269,7 +3269,7 @@
   encode_terminal_bufsize = 0;
 
 #ifdef HAVE_GPM
-  mouse_position_hook = term_mouse_position;
+  terminal->mouse_position_hook = term_mouse_position;
   Qmouse_face_window = Qnil;
 #endif