[PATCH] xrandr: Remove test against RANDR_MAJOR/RANDR_MINOR, already done by configure script
remi at gentoo.org
Tue Nov 17 01:41:47 PST 2009
Le 04/11/2009 14:28, Yann Droneaud a écrit :
> xrandr.c uses structures defined in<X11/extensions/Xrandr.h>
> provided by 'libXrandr' package but tests structures availability
> through RANDR_MAJOR/RANDR_MINOR defined in<X11/extensions/randr.h>
> provided by 'randrproto' package.
> Sometimes they are not in sync so it's safer to rely on checks made
> by configure script through pkg-config.
> In my test case, XRRPanning structure is not defined in Xrandr.h,
> RANDR_MAJOR is 1 and RANDR_MINOR 2 but xrandr.c try to use it anyway.
> (for the record, XRRPanning was added in libXrandr-1.2.91).
Pushed to master. Don't forget to sign-off your patches next time :)
More information about the xorg