From 0653a58380742acbaf42c605341ef303a4c8365d Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 10 Feb 2022 12:57:47 +0800 Subject: [PATCH] Fill in missing pixel after PolyLine on scroll bars * src/xterm.c (x_scroll_bar_expose): Draw bottom right corner of scroll bar manually. --- src/xterm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index abfad61041d..bd0fdde01ee 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8440,6 +8440,9 @@ x_scroll_bar_expose (struct scroll_bar *bar, const XEvent *event) /* x, y, width, height */ 0, 0, bar->width - 1, bar->height - 1); + XDrawPoint (FRAME_X_DISPLAY (f), w, gc, + bar->width - 1, bar->height - 1); + /* Restore the foreground color of the GC if we changed it above. */ if (f->output_data.x->scroll_bar_foreground_pixel != -1) XSetForeground (FRAME_X_DISPLAY (f), gc, -- 2.39.5