Adjust colors - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset dd8539d6f343a084988018767574463ce1e6b43c
(DIR) parent 81058a856ec431ff0a782d5282f29332da00742a
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sat, 26 Jan 2019 21:35:46
Adjust colors
Diffstat:
graphics/sxiv/patch-window.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff -r 81058a856ec4 -r dd8539d6f343 graphics/sxiv/patch-window.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/sxiv/patch-window.c Sat Jan 26 21:35:46 2019 +0100
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Adjust bar colors.
+
+--- window.c.orig 2019-01-26 13:54:40.000000000 +0000
++++ window.c
+@@ -446,10 +446,7 @@ void win_draw_bar(win_t *win)
+ d = XftDrawCreate(e->dpy, win->buf.pm, DefaultVisual(e->dpy, e->scr),
+ DefaultColormap(e->dpy, e->scr));
+
+- if (win->fullscreen && !win->light)
+- bg = &win->bg, fg = &win->fg;
+- else
+- bg = &win->fg, fg = &win->bg;
++ bg = &win->bg, fg = &win->fg;
+
+ XSetForeground(e->dpy, gc, bg->pixel);
+ XFillRectangle(e->dpy, win->buf.pm, gc, 0, win->h, win->w, win->bar.h);