From: Julien C. <jcr...@de...> - 2010-02-16 12:54:19
|
On Mon, Feb 8, 2010 at 19:27:56 +0100, Francisco Jerez wrote: > diff --git a/src/glx/x11/dri2.c b/src/glx/x11/dri2.c > index 91053d3..e692c8c 100644 > --- a/src/glx/x11/dri2.c > +++ b/src/glx/x11/dri2.c > @@ -81,7 +81,7 @@ static XEXT_GENERATE_FIND_DISPLAY (DRI2FindDisplay, > dri2Info, > dri2ExtensionName, > &dri2ExtensionHooks, > - 1, NULL) > + DRI2NumberEvents, NULL) > This is buggy. It registers 2 dri2 events in Xlib, even though the server might only know about one, and thus use the next event code for a different extension. See http://lists.freedesktop.org/pipermail/xorg/2009-November/048184.html Cheers, Julien |