[PATCH 0/5 xserver] make MAXSCREENS run-time configurable

Keith Packard keithp at keithp.com
Thu Apr 8 18:55:05 PDT 2010


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.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100408/42a6cd23/attachment.pgp>


More information about the xorg-devel mailing list