diff options
| author | Richard M. Stallman | 1996-09-04 03:38:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-04 03:38:40 +0000 |
| commit | 2ef60670b388ac3e7d398b19d99a2bcd8fee5ae4 (patch) | |
| tree | f0884694226de32c8b43ce4c170e4c2f3e1d2930 /src/xterm.c | |
| parent | 85c66a3ec95f9463552067ca9cb3e08fda5a0b05 (diff) | |
| download | emacs-2ef60670b388ac3e7d398b19d99a2bcd8fee5ae4.tar.gz emacs-2ef60670b388ac3e7d398b19d99a2bcd8fee5ae4.zip | |
(note_mouse_highlight): Pass POS argument to fast_find_position as int.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c index 82866096bd0..b88b17e7cd8 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1996,11 +1996,11 @@ note_mouse_highlight (f, x, y) | |||
| 1996 | before = Foverlay_start (overlay); | 1996 | before = Foverlay_start (overlay); |
| 1997 | after = Foverlay_end (overlay); | 1997 | after = Foverlay_end (overlay); |
| 1998 | /* Record this as the current active region. */ | 1998 | /* Record this as the current active region. */ |
| 1999 | fast_find_position (window, before, | 1999 | fast_find_position (window, XFASTINT (before), |
| 2000 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col, | 2000 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col, |
| 2001 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_row); | 2001 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_row); |
| 2002 | FRAME_X_DISPLAY_INFO (f)->mouse_face_past_end | 2002 | FRAME_X_DISPLAY_INFO (f)->mouse_face_past_end |
| 2003 | = !fast_find_position (window, after, | 2003 | = !fast_find_position (window, XFASTINT (after), |
| 2004 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col, | 2004 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col, |
| 2005 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_row); | 2005 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_row); |
| 2006 | FRAME_X_DISPLAY_INFO (f)->mouse_face_window = window; | 2006 | FRAME_X_DISPLAY_INFO (f)->mouse_face_window = window; |
| @@ -2030,11 +2030,11 @@ note_mouse_highlight (f, x, y) | |||
| 2030 | = Fnext_single_property_change (position, Qmouse_face, | 2030 | = Fnext_single_property_change (position, Qmouse_face, |
| 2031 | w->buffer, end); | 2031 | w->buffer, end); |
| 2032 | /* Record this as the current active region. */ | 2032 | /* Record this as the current active region. */ |
| 2033 | fast_find_position (window, before, | 2033 | fast_find_position (window, XFASTINT (before), |
| 2034 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col, | 2034 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col, |
| 2035 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_row); | 2035 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_row); |
| 2036 | FRAME_X_DISPLAY_INFO (f)->mouse_face_past_end | 2036 | FRAME_X_DISPLAY_INFO (f)->mouse_face_past_end |
| 2037 | = !fast_find_position (window, after, | 2037 | = !fast_find_position (window, XFASTINT (after), |
| 2038 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col, | 2038 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col, |
| 2039 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_row); | 2039 | &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_row); |
| 2040 | FRAME_X_DISPLAY_INFO (f)->mouse_face_window = window; | 2040 | FRAME_X_DISPLAY_INFO (f)->mouse_face_window = window; |