[comp.windows.x] Random questions

jkh@violet.berkeley.edu (Jordan K. Hubbard) (12/12/87)

I think postnews ate my last posting. Here it is again (what I can
remember of it, anyway).

1. Has anyone noticed a broken auto-repeat on their Sun since applying
   patches 71-80? I'm more reluctant to call this a bug in X after #68.

2. I have a pretty good idea why color information isn't available for
   window background/foreground and border, but it's still a PAIN IN
   THE ASS. How is one supposed to write an application that adds
   gadgets to a window with the same color attributes? Is there some
   way of doing this with colormaps? For example, If a person has a green and
   red (yeech) window, he'll expect a green/red title bar, no?
   If the answer to this question is a flat "No", how about telling me
   how or if this question is going to be addressed?


				Thanks.
				Jordan Hubbard
				dana!jkh@hplabs.hp.com

wohler@milk1.istc.sri.com..istc.sri.com (Bill Wohler) (12/12/87)

Jordan K. Hubbard writes:
>1. Has anyone noticed a broken auto-repeat on their Sun since applying
>   patches 71-80? I'm more reluctant to call this a bug in X after #68.

jordan,

  how broken do you mean?  every now and then i don't get autorepeat
  when i hold down a key.  this is usually associated with furious
  typing.  however, releasing the key and depressing it again has
  always invoked the autorepeat so i haven't gotten too concerned about
  it, especially since the new sun-3 keyboards beep at you and drop
  characters sometimes when typing quickly.  does autorepeat not work
  at all for you?

  then again i'm running 3.4 and you're running 3.2...  any other 3.2
  sites experiencing the same problem?

						--bw

paulsh@denali.gwd.tek.COM (Paul Shearer) (12/16/87)

You are right, the foreground and background pixel are not in 
the struct XWindowAttributes.

However they are in the server struct WindowRec:

        ...
	PixmapPtr backgroundTile;
	unsigned long backgroundPixel;
	PixmapPtr borderTile;
	unsigned long borderPixel;
	...


Still I see no macros in Xlib that get at these values.

Good luck.

Paul
--------



Paul Shearer
M.S. 61-277
Tektronix, Inc.
P.O. Box 1000
Wilsonville, OR
	 97070-1000

W (503) 685-2137
H (503) 224-3536
tektronix!shark!paulsh