Window procedures in ScreenRec not populated by DDX driver. why?

Daniel Stone daniel at fooishbar.org
Tue Feb 15 01:45:54 PST 2011


On Tue, Feb 15, 2011 at 08:24:37AM +0530, kumar vemuri wrote:
>   In most of the reference DDX driver implementations, the Pixmap
> procedures (CreatePixmap, etc) are being implemented by the driver and
> also are getting populated in the ScreenRec structure by the driver. But
> none of the Window procedures (like CreateWindow, DestroyWindow ...) are
> being implemented by the drivers. 
> 
> Can someone throw a hint as to why the Window procedures of ScreenRec
> are not being implemented by the driver whereas the Pixmap procedures
> are?

You can implement your own CreateWindow hook if you want, but most
drivers don't need to do anything with CreateWindow, so they, er, don't.

(I realise this answer is pretty much 'because they don't', but I'm not
 really sure what else to tell you.)

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110215/442cf39e/attachment.pgp>


More information about the xorg-devel mailing list