Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: Re: twm: resize: ConfigureNotify Event 'x' value always 0 Message-ID: <9003221956.AA13108@kanga.lcs.mit.edu> Date: 22 Mar 90 19:56:59 GMT References: <9003221933.AA09977@expo.lcs.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 20 SYNOPSIS: The twm window manager places an incorrect value in the 'x' (window origin x) field of the XConfigure event structure sent in response to a window manager resize. After pawing through section 4.1.5 of the ICCCM again, I believe that you're seeing the correct behavior: o Resizing the window (whether or not it is moved), a client which has selected for StructureNotify will receive a ConfigureNotify event. Note that the coordinates in this event are relative to the parent, which may not be the root if the window has been reparented, and will reflect the actual border width of the window, which the window manager may have changed. The TranslateCoordinates request can be used to convert the coordinates if required. Since twm reparent the window to (0,title_height), that's what you're seeing.