[PATCH 0/5 xserver] make MAXSCREENS run-time configurable
Daniel Stone
daniel at fooishbar.org
Thu Apr 8 19:35:11 PDT 2010
On Thu, Apr 08, 2010 at 06:55:05PM -0700, Keith Packard wrote:
> On Fri, 9 Apr 2010 11:20:10 +1000, Daniel Stone <daniel at fooishbar.org> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100409/f1146fd3/attachment.pgp>
More information about the xorg-devel
mailing list