On Thu, Apr 08, 2010 at 06:55:05PM -0700, Keith Packard wrote:
> On Fri, 9 Apr 2010 11:20:10 +1000, Daniel Stone <[email protected]> wrote:
> > Well, for a start, you'd have to start only storing screen IDs instead
> > of ScreenPtrs everywhere.
> 
> No, the ScreenRecs are allocated in AddScreen and the pointer stored in the
> (currently static) array in screenInfo. Just using realloc on that array
> would make this also dynamically sized.

Nevermind, for some reason I'd thought screenInfo.screens was an array
of ScreenRecs, not ScreenPtrs ...

TGIF,
Daniel

Attachment: pgpRw9aeEsovi.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to