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

Daniel Stone daniel at fooishbar.org
Thu Apr 8 18:20:10 PDT 2010


On Thu, Apr 08, 2010 at 10:28:27AM -0700, Keith Packard wrote:
> On Thu,  8 Apr 2010 18:06:32 +0300, Tiago Vignatti <tiago.vignatti at nokia.com> wrote:
> > Please, review it. Thanks
> 
> This looks good, but reviewing it makes me wonder how hard it would be
> to not have MAXSCREENS at all and just realloc each time you needed more
> space in any of the relevant arrays. It seems like you've got exactly
> the hooks you need to make that work, which would mean we wouldn't need
> to pass a command line argument, making autodetection 'just work'.

Well, for a start, you'd have to start only storing screen IDs instead
of ScreenPtrs everywhere.

Cheers,
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/ec4f2d61/attachment.pgp>


More information about the xorg-devel mailing list