projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c867a43
)
Fill in missing pixel after PolyLine on scroll bars
author
Po Lu
<luangruo@yahoo.com>
Thu, 10 Feb 2022 04:57:47 +0000
(12:57 +0800)
committer
Po 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
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index abfad61041da7ae1e2015af6ffd8898cb449a8a9..bd0fdde01ee656fb3376b7fa3a3effda24f3658f 100644
(file)
--- 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,