[comp.windows.x] selecting window

aob@lanl.gov (Alexander O. Brown) (07/25/90)

Here's one for you X gurus out there.  I'm using X11R3 on the NeXT and I'm
trying to find the answer to an obscure problem I'm having.  I got the Release
4 version of xwd and managed to finally get it compiled and working on the NeXT.
However, I get slightly different results when I us the -name flag or select
the window to be dumped with the mouse.  Using the -name flag, the window manager
frame at the top of the window (incidentally, I am using twm) doesn't get dumped;
however, it does when I select with the mouse.  I went through with a debugger and
found that the window id (Window type) is actually different using the different
methods.  Using the XGetWindowAttributes function, it turns out that certain attributes
are also slightly different (although the coordinates of the window are close to the same).
This problem doesn't occur when no window manager is running.

Does anyone have any idea what the problem is?  Is it because I have R3 or
because the NeXT srver is screwy?  Is it that there are two separate window?

				Alex Brown
				aob@beta.lanl.gov

P.S.  Does anyone know what the XmuClientWindow function does?  I looked
      in the Consortium manual, but it is really obscure.