diff options
| author | Gerd Moellmann | 2002-04-24 17:03:03 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2002-04-24 17:03:03 +0000 |
| commit | 4398e6736e74c34f99dc43571b244ba2eb4791fb (patch) | |
| tree | ac8d68ad7a1cbe48543f1783d7b2c11969eb3f52 /src | |
| parent | eb55f651cfae8ec191da43ade0a26bb14264c8b3 (diff) | |
| download | emacs-4398e6736e74c34f99dc43571b244ba2eb4791fb.tar.gz emacs-4398e6736e74c34f99dc43571b244ba2eb4791fb.zip | |
(x_display_and_set_cursor): Set phys_cursor_width to
0 for NO_CURSOR.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 5b4b211924e..0009161af7a 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11248,7 +11248,9 @@ notice_overwritten_cursor (w, area, x0, x1, y0, y1) | |||
| 11248 | Likewise if part of the cursor is below y1, with the | 11248 | Likewise if part of the cursor is below y1, with the |
| 11249 | exception of the cursor being in the first blank row at | 11249 | exception of the cursor being in the first blank row at |
| 11250 | the buffer and window end because update_text_area | 11250 | the buffer and window end because update_text_area |
| 11251 | doesn't draw that row. */ | 11251 | doesn't draw that row. (Except when it does, but |
| 11252 | that's handled in update_text_area.) */ | ||
| 11253 | |||
| 11252 | if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1)) | 11254 | if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1)) |
| 11253 | && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p) | 11255 | && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p) |
| 11254 | w->phys_cursor_on_p = 0; | 11256 | w->phys_cursor_on_p = 0; |
| @@ -11767,6 +11769,7 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) | |||
| 11767 | break; | 11769 | break; |
| 11768 | 11770 | ||
| 11769 | case NO_CURSOR: | 11771 | case NO_CURSOR: |
| 11772 | w->phys_cursor_width = 0; | ||
| 11770 | break; | 11773 | break; |
| 11771 | 11774 | ||
| 11772 | default: | 11775 | default: |