diff options
| -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; |