]> git.eshelyaron.com Git - emacs.git/commitdiff
Fill in missing pixel after PolyLine on scroll bars
authorPo Lu <luangruo@yahoo.com>
Thu, 10 Feb 2022 04:57:47 +0000 (12:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 10 Feb 2022 04:57:47 +0000 (12:57 +0800)
* src/xterm.c (x_scroll_bar_expose): Draw bottom right corner of
scroll bar manually.

src/xterm.c

index abfad61041da7ae1e2015af6ffd8898cb449a8a9..bd0fdde01ee656fb3376b7fa3a3effda24f3658f 100644 (file)
@@ -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,