[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0653a58380: Fill in missing pixel after PolyLine on scroll bars
From: |
Po Lu |
Subject: |
master 0653a58380: Fill in missing pixel after PolyLine on scroll bars |
Date: |
Wed, 9 Feb 2022 23:58:24 -0500 (EST) |
branch: master
commit 0653a58380742acbaf42c605341ef303a4c8365d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
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 abfad61041..bd0fdde01e 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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0653a58380: Fill in missing pixel after PolyLine on scroll bars,
Po Lu <=