aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index ac00ebeff7b..d4882cebbf6 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -386,7 +386,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
386 386
387 //calculate clip widht and height, which is used both for the xwidget 387 //calculate clip widht and height, which is used both for the xwidget
388 //and its phantom counterpart 388 //and its phantom counterpart
389 clipx = min (xw->width, WINDOW_RIGHT_EDGE_X (s->w) - x); 389 clipx = min (xw->width, WINDOW_RIGHT_EDGE_X (s->w) - x - WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH(s->w) - WINDOW_RIGHT_FRINGE_WIDTH(s->w));
390 clipy = min (xw->height, 390 clipy = min (xw->height,
391 WINDOW_BOTTOM_EDGE_Y (s->w) - WINDOW_MODE_LINE_HEIGHT (s->w) - y); 391 WINDOW_BOTTOM_EDGE_Y (s->w) - WINDOW_MODE_LINE_HEIGHT (s->w) - y);
392 392