Slightly OT - X Windows question
This is an X-Windows question, but not Linux. I'm working on a Sun box running FVWM window manager. I am attempting to capture a window ID from a running copy of Acrobat Reader and then send keyboard events to a text field that will change the page. (I can't do this from the command line so this is my only other choice). Using XQueryTree, XListProperties and XGetWindowProperty I can get every property of every window from the Root on down. When I send the display back to my PC (can't remember the name of that window manager) everything works fine - I can find the top level window I need based on the title of the Document Window that is open, then work my way down to the window I need and send the events to it which changes the current page. But when I try to use the display on the Sun machine every window EXCEPT the document window shows up. Acrobat has about 5-6 top level windows (main application, about dialog, a couple of windows with "WMH" or something as the name, etc.), and they all show up except the one that contains all the little subwindows I have to have. Yet when I use xwininfo to display the window's properties it has no problem finding it - the WM_NAME for my document window is right there, along with all the subwindows I have to have. And again, xwininfo and my application have no problem finding this top window when the display is on my PC - only when it is on the Sun is this one, and only one, window invisible to my code. WFT is going on here?