# HG changeset patch # User Jason Rumney # Date 1015456658 0 # Node ID 0d2e63aa9d911e7692d39631b187fa4a3d6423de # Parent 492830d6693c9cb339559159de3c14ad4868c1b6 (x_draw_hollow_cursor): Draw same size as block cursor. diff -r 492830d6693c -r 0d2e63aa9d91 src/w32term.c --- a/src/w32term.c Wed Mar 06 23:14:29 2002 +0000 +++ b/src/w32term.c Wed Mar 06 23:17:38 2002 +0000 @@ -9409,7 +9409,7 @@ rect.left = WINDOW_TEXT_TO_FRAME_PIXEL_X (w, w->phys_cursor.x); rect.top = (WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y) + row->ascent - w->phys_cursor_ascent); - rect.bottom = rect.top + row->height - 1; + rect.bottom = rect.top + row->height; /* Get the glyph the cursor is on. If we can't tell because the current matrix is invalid or such, give up. */ @@ -9421,7 +9421,7 @@ glyph, and `x-stretch-block-cursor' is nil, don't draw a rectangle as wide as the glyph, but use a canonical character width instead. */ - wd = cursor_glyph->pixel_width - 1; + wd = cursor_glyph->pixel_width; if (cursor_glyph->type == STRETCH_GLYPH && !x_stretch_cursor_p) wd = min (CANON_X_UNIT (f), wd);