Adjust color for wip/mupdf too - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 55dc8ef6980d40c0e4ea76e9da2ad1c0ba5765e7
(DIR) parent 407d9258d7963d4c7c927247d1b05628bfd059af
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Wed, 26 Sep 2018 15:59:46
Adjust color for wip/mupdf too
Diffstat:
wip/mupdf/patch-platform_x11_x11__main.c | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
---
diff -r 407d9258d796 -r 55dc8ef6980d wip/mupdf/patch-platform_x11_x11__main.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wip/mupdf/patch-platform_x11_x11__main.c Wed Sep 26 15:59:46 2018 +0200
@@ -0,0 +1,27 @@
+$NetBSD$
+
+Adjust colors.
+
+--- platform/x11/x11_main.c.orig 2016-11-28 13:34:04.000000000 +0000
++++ platform/x11/x11_main.c
+@@ -218,13 +218,13 @@ static void winopen(void)
+ xcwait = XCreateFontCursor(xdpy, XC_watch);
+ xccaret = XCreateFontCursor(xdpy, XC_xterm);
+
+- xbgcolor.red = 0x7000;
+- xbgcolor.green = 0x7000;
+- xbgcolor.blue = 0x7000;
+-
+- xshcolor.red = 0x4000;
+- xshcolor.green = 0x4000;
+- xshcolor.blue = 0x4000;
++ xbgcolor.red = 0x0000;
++ xbgcolor.green = 0x0000;
++ xbgcolor.blue = 0x0000;
++
++ xshcolor.red = 0x0000;
++ xshcolor.green = 0x0000;
++ xshcolor.blue = 0x0000;
+
+ XAllocColor(xdpy, DefaultColormap(xdpy, xscr), &xbgcolor);
+ XAllocColor(xdpy, DefaultColormap(xdpy, xscr), &xshcolor);