[PATCH v2] randr: add swapped dispatch for RR[GS]etCrtcTransform

Julien Cristau jcristau at debian.org
Fri Nov 28 07:41:51 PST 2008


On Thu, Nov 27, 2008 at 10:02:53 -0800, Keith Packard wrote:

> On Wed, 2008-11-26 at 22:14 +0100, Julien Cristau wrote:
> 
> > +    SwapLongs((CARD32 *)&stuff->transform, (sizeof xRenderTransform) >> 2);
> > +    swaps(&stuff->nbytesFilter);
> 
> Please try compiling patches before submitting them. Testing would be a
> nice bonus too.
> 
Sorry about that.  The attached patches actually build, and quick
testing of XRRGetCrtcTransform seems to work, once I applied the second
patch to fix libXrandr, which didn't set the pendingNparams field in the
returned structure.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-randr-add-swapped-dispatch-for-RR-GS-etCrtcTransfor.patch
Type: text/x-diff
Size: 2992 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081128/63cc8ac6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-attr-pendingNparams-in-XRRGetCrtcTransform.patch
Type: text/x-diff
Size: 714 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081128/63cc8ac6/attachment-0001.patch>


More information about the xorg mailing list