--- ./src/icon.c.orig-bitmapinvert	Mon Aug 17 12:30:47 1998
+++ ./src/icon.c	Tue Aug 18 01:00:15 1998
@@ -570,8 +570,13 @@
 	XSetClipOrigin(dpy, scr->copy_gc, x, y);
 	
 	if (d != scr->w_depth) {
+#ifdef NO_INVERT_BITMAP_ICONS
+	    XSetForeground(dpy, scr->copy_gc, scr->black_pixel);
+	    XSetBackground(dpy, scr->copy_gc, scr->white_pixel);
+#else /* NO_INVERT_BITMAP_ICONS */
 	    XSetForeground(dpy, scr->copy_gc, scr->white_pixel);
 	    XSetBackground(dpy, scr->copy_gc, scr->black_pixel);
+#endif /* NO_INVERT_BITMAP_ICONS */
 	    XCopyPlane(dpy, wwin->wm_hints->icon_pixmap, pixmap, scr->copy_gc,
 		      0, 0, w, h, x, y, 1);
 	} else {
--- ./src/wconfig.h.in.orig-bitmapinvert	Tue Aug 18 00:57:29 1998
+++ ./src/wconfig.h.in	Tue Aug 18 01:00:15 1998
@@ -130,6 +130,8 @@
 /* Define if you want MWM support (and consequently GNOME). */
 #define MWM_HINTS
 
+/* Define if you want bitmap icons not to be inverted. */
+#define NO_INVERT_BITMAP_ICONS
 
 /*
  * Turn on a hack to make mouse and keyboard actions work even if
