dcmartin@postgres.mit.EDU.UUCP (05/06/87)
I don't know how many people are using large bitmaps as their backgrounds for X, but a simple change to xsetroot allows bitmaps larger than 16x16 to be used as the root window background tile. (This makes the use of the program xback(1) obsolete on Suns, but you will still need it for uVaxen as they don't grok bitmaps as tiles > 16x16) dcm -------- 280c280 < Error("Invaild mask Bitmap size"); --- > Error("Invalid mask Bitmap size"); 292c292 < Error("Invaild cursor Bitmap size"); --- > Error("Invalid cursor Bitmap size"); 384,387c384,394 < if (status == 0) Error ("Unable to open Bitmap file"); < else if (status < 0) Error("Unable to parse Bitmap file"); < else if ((width != BITMAP_SIZE) || (height != BITMAP_SIZE)) < Error("Invaild Bitmap size"); --- > if (status == 0) > Error ("Unable to open Bitmap file"); > else if (status < 0) > Error("Unable to parse Bitmap file"); > else { > int rwidth, rheight; > > XQueryTileShape(width, height, &rwidth, &rheight); > if ((width != rwidth) || (height != rheight)) > Error("Invalid Bitmap size"); > }