Bharathi S wrote:
>
> On Mon, 22 Apr 2002, Vladimir Dergachev wrote:
>
> > > How find the window id by using the following structures
> > > Display, Drawable, Graphics Context ?
> >
> > AFAIK, Window id is the same thing as the drawable, provided the drawable
> > points to the window. I.e. where the man page says Xblahblah function
> > takes a drawable as an argument it means that you can either pass a window
> > id or a pixmap (but not XImage) handle to it.
>
> Thank you Vladimir Dergachev
>
> Most of the functions taking Pixmap(DRAWABLE) as argument.
> I need the window id for maintaining a virtual buffer
> and window id as the key.
>
> How the Xserver finding the window id ?
> Bcoz we are sending only dpy, pixmap, GC !
Bharathi,
A pixmap is a drawable, a window is a drawable, but a pixmap is *not* a
window. You can, however get the root window from a display structure.
-- /\
Jens Owen / \/\ _
[EMAIL PROTECTED] / \ \ \ Steamboat Springs, Colorado
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert