aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorChong Yidong2008-10-27 22:20:46 +0000
committerChong Yidong2008-10-27 22:20:46 +0000
commitd3424e67eb01c12dcdc0c48545f870256c330eb7 (patch)
tree66237aac5cad814aab8f2e4aeda981eaa8c516db /src/xterm.c
parente2e325aaaf57a56526f5ea06d12cde8f10925d55 (diff)
downloademacs-d3424e67eb01c12dcdc0c48545f870256c330eb7.tar.gz
emacs-d3424e67eb01c12dcdc0c48545f870256c330eb7.zip
(x_draw_bar_cursor): When hbar cursor is on over-sized glyph, draw it
with the default glyph width.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index f272c934043..264f2c21363 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7441,7 +7441,7 @@ x_draw_bar_cursor (w, row, width, kind)
7441 WINDOW_TEXT_TO_FRAME_PIXEL_X (w, w->phys_cursor.x), 7441 WINDOW_TEXT_TO_FRAME_PIXEL_X (w, w->phys_cursor.x),
7442 WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y + 7442 WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y +
7443 row->height - width), 7443 row->height - width),
7444 cursor_glyph->pixel_width, 7444 min (FRAME_COLUMN_WIDTH (f), cursor_glyph->pixel_width),
7445 width); 7445 width);
7446 7446
7447 XSetClipMask (dpy, gc, None); 7447 XSetClipMask (dpy, gc, None);