Michael Hope wrote:
>
> Hi. Ive written a small native interface that searches for a window given
> it's name, and then sets the MWM and Gnome hints on that window (ie stay
> on top, hide close button etc) Unfortunatly the search process is quite
> slow - can anyone recommend a nice way to get ahold of the window
> handle
> directly?
"Directly" meaning to ask the X server to find a window by name?
I don't think so. You might want to track down the source to xwininfo (a
standard X client -- should be in XFree86 distributions) to see how it
finds a window by name, but I think it searches... and it doesn't take
very long. The named windows are grandchildren of the root window, so
you don't need to search very deeply.
Nathan Meyers
[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]