smikes@cbnewsi.ATT.COM (steven.mikes) (06/07/89)
This seems like it is probably a silly question, but why do lines drawn with XDrawLine disappear whenever the window containing them is resized, obscured, or iconified/deiconified? The GC function used in creating them was GXxor, could this have something to do with it? If so, I thought that lines are xor'd only by another XDrawLine call not by a configure notify? Can anyone shed some light on this for me and point me in the right direction? Thanks in advance, Steve {...}hound!smikes
wf08+@ANDREW.CMU.EDU (William Frank) (06/08/89)
The problem here is that once a line is drawn, the server no longer recalls that it exists, it is only in the mind of the display card. Once the servers places something over that region or redraws the window it replaces that information in the display memory. It has nothing to do with the GC. At least, this is what I think is happening. You will have to redraw the lines each time the region is reconfigured or exposed. -William Frank.