# HG changeset patch # User Chong Yidong # Date 1225146046 0 # Node ID 0310a76120f54d4679b178a1e316f141bb1f2b5a # Parent 3079e132966c70c25c4e707421c395fcfc3b89d2 (x_draw_bar_cursor): When hbar cursor is on over-sized glyph, draw it with the default glyph width. diff -r 3079e132966c -r 0310a76120f5 src/xterm.c --- a/src/xterm.c Mon Oct 27 22:20:27 2008 +0000 +++ b/src/xterm.c Mon Oct 27 22:20:46 2008 +0000 @@ -7441,7 +7441,7 @@ WINDOW_TEXT_TO_FRAME_PIXEL_X (w, w->phys_cursor.x), WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y + row->height - width), - cursor_glyph->pixel_width, + min (FRAME_COLUMN_WIDTH (f), cursor_glyph->pixel_width), width); XSetClipMask (dpy, gc, None);