Path: utzoo!attcan!uunet!bloom-beacon!KHEOPS.CMI.NO!pererik From: pererik@KHEOPS.CMI.NO (Per-Erik Nordbo) Newsgroups: comp.windows.x Subject: Finding the root coordinates of the window Message-ID: <1225.8910101621@jupiter.cmi.no> Date: 10 Oct 89 16:21:03 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 18 I'm implementing a system where the windows position in the root window is of interrest. When I do a resize, I would like to know what corner(s) has been changed, since this affects the direction I would to display the underlying graphics. The Resize and Expose part of the XEvent structure doesn't give me the abolute position of the window on the screen. The only information I get is the position relative to the window's parent window, which is owned by the window manager. XGetWindowGeoemtry() and that kind of procedures gives me the same form of RELATIVE window information. Is there a way to get the ABSOLUTE window position? Since I would like to get information about what direction to extend the drawings, the situation complicates if I have a sequence of RESIZE, MOVE, RESIZE. I can't find any specific EVENT MASK that will give me a Move Report. Is there any way out of this without installing window manager functions into the application? Per Erik Nordboe Chr. Michelsens Institute Norway