Path: utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!eukanuba.wpd.sgi.com!mikey From: mikey@eukanuba.wpd.sgi.com (Mike Yang) Newsgroups: comp.windows.x Subject: Re: window manager's reparenting Message-ID: <11303@odin.corp.sgi.com> Date: 2 Aug 90 18:43:25 GMT References: <58817@lanl.gov> Sender: news@odin.corp.sgi.com Reply-To: mikey@sgi.com Organization: Silicon Graphics, Inc. Lines: 19 In article <58817@lanl.gov>, aob@lanl.gov (Alexander O. Brown) writes: |> In a program I am doing, I am selecting a window with the mouse and |> it is giving me the window generated by the window manager (the |> one with decoartions). How can I get the original window |> when I have this new decoarted window? Does the function |> XmuClientWindow achieve this (I am currently working |> with release 3, so I cannot tell if it will work)? Yes, XmuClientWindow will return the window you want if you're running an ICCCM-compliant window manager (e.g. mwm, R4 twm). Some window managers which aren't really ICCCM-compliant will also work if they set the WM_STATE property on the client window (e.g. hpwm, dxwm). It shouldn't matter that you're running R3, unless XmuClientWindow isn't available in R3. ----------------------------------------------------------------------- Mike Yang Silicon Graphics, Inc. mikey@sgi.com 415/335-1786