toml@ninja.Solbourne.COM (Tom LaStrange) (12/07/90)
The problem with xwd not working correctly under swm or tvtwm is due to the fact that the subwindow member of the of the button press event comes back with the window id of the virtual desktop window. XmuClientWindow() is called with this window id which simply looks through the descendants for a client window (one with WM_STATE set). This of course results in getting some window rather than the one under the pointer. Perhaps we need a new Xmu routine that takes an xy coordinate pair and returns the topmost client window at that location? I could write such a thing if there's interest? -- Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml Longmont, CO 80501