[PATCH 4/4] Define ddxBeforeReset stubs in platform-neutral DDXs

Jon TURNEY jon.turney at dronecode.org.uk
Fri Oct 16 10:38:56 PDT 2009


On 15/10/2009 07:53, Yaakov (Cygwin/X) wrote:
> XWin uses ddxBeforeReset, which is called in DIX.  Other DDXs need to
> define these in order to avoid an undefined symbol error at link time
> when building alongside XWin.  Xnest and Xvfb already provide empty stubs;
> this does the same for Xdmx and the platform-neutral KDrive servers.
>
> Also add a prototype to avoid a warning in all DDXs.

I've scooped up the other patches in this set, but I'm not sure about this one.

XWin is the only DDX which uses DDXBEFORERESET and it was added for our 
benefit, but this is not very elegant. I think I'm going to need another, 
similar hook for work I'm doing to use the native WGL implementation for 
AIGLX, so I am looking into a different way of doing this.



More information about the xorg-devel mailing list