On Thu, 8 Aug 2002, andreas bratfisch wrote:

> Sorry,
> I have a main window, and subwindows with a GC,
> for drawing. When the main window is unmapped,
> and then mapped, the subwindows are visable, and
> the GC's in the subwindows are not. Understand ?

   No.  I don't know what it means to have a GC in a 
subwindow.  GCs's are not a part of a window.  A GC
holds the rendering style.  When you draw something
like a filled rectangle you need to pass a GC to
XFillRectangle so it knows how the rectangle should be 
drawn, that is - stippled, or solid, what color, etc...
The GC is not a property of the window or pixmap
that XFillRectangle draws into, it merely describes 
how that single rectangle should be drawn.


                        Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to