Path: utzoo!attcan!uunet!husc6!mit-eddie!apollo!oj From: oj@apollo.uucp (Ellis Oliver Jones) Newsgroups: comp.windows.x Subject: Re: Bug? Summary: beware reparenting window managers. Keywords: XGetWindowAttributes, XReparentWindow, wm Message-ID: <3c678c55.d5b2@apollo.uucp> Date: 1 Jun 88 18:56:00 GMT References: <8805291924.AA16344@tub.UUCP> Reply-To: oj@canyon.UUCP (Ellis Oliver Jones) Organization: Apollo Computer, Chelmsford, MA Lines: 12 In article <8805291924.AA16344@tub.UUCP> net@TUB.BITNET (Oliver Laumann) writes: >Maybe I'm just dumb today, but it seems the result returned by >XGetWindowAttributes() is not deterministic. In addition to RWS's point about the window manager taking time to process the XConfigureWindow request, it's worth pointing out that some window managers (not uwm) reparent a client's top level window. Therefore, the x and y positions returned by XGetWindowAttributes may not be relative to the root window, but rather to the window manager's decoration window. /oj