Path: utzoo!attcan!uunet!husc6!bloom-beacon!ZERMATT.LCS.MIT.EDU!RWS
From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler)
Newsgroups: comp.windows.x
Subject: GetWindowAttributes is deterministic, but the environment isn't
Message-ID: <19880531195658.3.RWS@KILLINGTON.LCS.MIT.EDU>
Date: 31 May 88 19:56:00 GMT
References: <8805291924.AA16344@tub.UUCP>
Sender: daemon@bloom-beacon.MIT.EDU
Organization: The Internet
Lines: 16


    Date: Sun, 29 May 88 21:24:18 +0200
    From: Oliver Laumann 

    Maybe I'm just dumb today, but it seems the result returned by
    XGetWindowAttributes() is not deterministic.

	XConfigureWindow (d, w, CWX, &wc);
	XGetWindowAttributes (d, w, &wa);

Some window managers, uwm included, cause the server to redirect certain
requests.  As a result, the request is not executed immediately, but
turns into an event to the window manager, who then (eventually) acts on
it.  The ConfigureWindow request is being redirected by uwm, and uwm may
or may not have a chance to receive and re-execute the request before
your client's GetWindowAttributes request is executed.