diff options
| author | Richard M. Stallman | 1995-11-20 04:46:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-20 04:46:08 +0000 |
| commit | 0d43a5d9ec3d815dc6a9e2058a6b6c3c14fcee37 (patch) | |
| tree | 666a763da837b4b3a5f6eb0ebf7e2a03065b7fb1 /src | |
| parent | 07e4feff1fb285e146a37ba563be823da349f826 (diff) | |
| download | emacs-0d43a5d9ec3d815dc6a9e2058a6b6c3c14fcee37.tar.gz emacs-0d43a5d9ec3d815dc6a9e2058a6b6c3c14fcee37.zip | |
(show_mouse_face): When clearing cursor, use proper column range.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index c149866c1a9..f1f312a55f5 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2182,8 +2182,8 @@ show_mouse_face (dpyinfo, hl) | |||
| 2182 | /* If the cursor's in the text we are about to rewrite, | 2182 | /* If the cursor's in the text we are about to rewrite, |
| 2183 | turn the cursor off. */ | 2183 | turn the cursor off. */ |
| 2184 | if (i == curs_y | 2184 | if (i == curs_y |
| 2185 | && curs_x >= FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col - 1 | 2185 | && curs_x >= column - 1 |
| 2186 | && curs_x <= FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col) | 2186 | && curs_x <= endcolumn) |
| 2187 | { | 2187 | { |
| 2188 | x_display_cursor (f, 0); | 2188 | x_display_cursor (f, 0); |
| 2189 | cursor_off = 1; | 2189 | cursor_off = 1; |