Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!icdoc!ms2 From: ms2@doc.ic.ac.uk (M Shelley) Newsgroups: comp.windows.x Subject: XGetGeometry Keywords: XGetGeometry Message-ID: <1991May14.152349.8968@doc.ic.ac.uk> Date: 14 May 91 15:23:49 GMT Reply-To: ms2@doc.ic.ac.uk (M Shelley) Organization: Department Of Computing, Imperial College, London UK Lines: 23 Nntp-Posting-Host: tsun15.doc.ic.ac.uk Beginner Alert ============== When I want to find the geometry of a window, I use XGetGeometry (surprise) However, when I am using a window manager, I get strange results for the position of the window. Presumably this is due to the window manager creating a slightly larger window to accomodate the border etc and then reparenting my window. How do I find the position of the window I created relative to the root rather than its decoration window? Cheers muchly (in advance) Martin ----------------------------------------------------------------------- Martin A. Shelley, BSc3 ms2@uk.ac.ic.cc Imperial College London SW7. "Sole intention : it's learning to fly, Condition grounded, but determined to try" - Pink Floyd -----------------------------------------------------------------------