--- ./util/wmsetbg.c.orig-fixspixmap	Fri Jan  8 22:27:56 1999
+++ ./util/wmsetbg.c	Sat Jan  9 04:18:23 1999
@@ -365,6 +365,17 @@
 		}
 		RDestroyImage(image);
 		image = simage;
+
+		if (!RConvertImage(rc, image, &pixmap)) {
+		    wwarning("could not convert texture:%s", 
+			     RMessageForError(RErrorCode));
+		    RDestroyImage(image);
+		    goto error;
+		}
+		RDestroyImage(image);
+
+		texture->width = scrWidth;
+		texture->height = scrHeight;
 	    }
 	    break;
 	 case 'm':
