[comp.windows.x] tiled lines

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (04/14/88)

    Date: 12 Apr 88 19:51:36 GMT
    From: decvax!elrond!kearns@ucbvax.berkeley.edu  (Arlene S. Kearns)

    I Draw a wide tiled line into a window, then using the window manager I move
    that window, the window is copied. But if a draw that same tiled line again its
    image is different.

Sounds wrong to me.

    What don't I understand?

That there are still bugs in the server, perhaps?  Of course, you don't
indicate whether this is on R1 or R2.  Could you send a test program
to xbugs?

    Should I be getting an expose event, my application is set to receive Expose 
    and ButtonPress events.

Yes, you should be getting at least one sometime.  Again, a test program
is about the only way to to get a handle on this kind of thing.

			    I believe I should also receive graphic expose events
    (this being the default) but I do not get any.

You would only get these on CopyArea and CopyPlane.  If that's what
you're doing, then we need a test program.

    I may be misunderstanding the ts_xorigin/ts_y_origin, is this point relative
    to the window which was passed to XCreateGC or is it relative to the root
    window?

Neither, it's relative to the window you pass as the destination of XDrawLine,
etc.

    Should an application when using tiling set up to receive "move" (configure?)
    events and therefore redraw accordingly.

This should not be necessary under normal circumstances.