Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!oakhill!razdan From: razdan@chanakya.oakhill.uucp (Anshuman Razdan) Newsgroups: comp.windows.x Subject: xlock and colors Message-ID: Date: 23 Feb 90 19:53:41 GMT References: xlock Sender: news@oakhill.UUCP Organization: Motorola Inc., SPS CAD, Austin, Texas. Lines: 23 I am running X11R4 on sun 3/470. I have come to notice a peculiar thing and I would like to have input on this. Well, When I run xlock (particularly qix) it runs fine and since I did not not know how the patterns should look like, I had no idea what it was supposed to do. It was drawing the patterns but would draw only limited portion of the patterns. Seems like it could not find all the colors it wanted to use. Now if I run xcolors (progrram in contrib dir) before I run xlock - wow suddenly I have this beautiful pattern on the screen with hell of a lot of colors. I looked into the code of xcolors and cannot find any thing in particular that would initiate this behaviour (unless it is XtConvert in the do-color routine). For those of you who cannot understaand what I am talking about, give it a try and see if you notice any change. Anshuman Razdan oakhill!chanakya!razdan@cs.utexas.edu