From: Po Lu Date: Thu, 10 Feb 2022 04:57:47 +0000 (+0800) Subject: Fill in missing pixel after PolyLine on scroll bars X-Git-Tag: emacs-29.0.90~2397 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0653a58380742acbaf42c605341ef303a4c8365d;p=emacs.git Fill in missing pixel after PolyLine on scroll bars * src/xterm.c (x_scroll_bar_expose): Draw bottom right corner of scroll bar manually. --- 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,