Package: eterm / 0.9.6-6

fix-esetroot-on-pseudocolor.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Kevin Ryde <user42_kevin@yahoo.com.au>
Subject: Fix Esetroot on PseudoColor visual
Bug-Debian: https://bugs.debian.org/728813

--- a/utils/Esetroot.c
+++ b/utils/Esetroot.c
@@ -180,6 +180,7 @@
     }
     imlib_context_set_display(Xdisplay);
     imlib_context_set_visual(DefaultVisual(Xdisplay, DefaultScreen(Xdisplay)));
+    imlib_context_set_colormap(DefaultColormap(Xdisplay, DefaultScreen(Xdisplay)));
     im = imlib_load_image_immediately(fname);
     if (!im) {
         fprintf(stderr, "%s:  Unable to load image file \"%s\".\n", *argv, fname);