xserver/hw
Olivier Fourdan d206c240c0 configurable maximum number of clients
Make the maximum number of clients user configurable, either from the command
line or from xorg.conf

This patch works by using the MAXCLIENTS (raised to 512) as the maximum
allowed number of clients, but allowing the actual limit to be set by the
user to a lower value (keeping the default of 256).

There is a limit size of 29 bits to be used to store both the client ID and
the X resources ID, so by reducing the number of clients allowed to connect to
the X server, the user can increase the number of X resources per client or
vice-versa.

Parts of this patch are based on a similar patch from Adam Jackson
<ajax@redhat.com>

This now requires at least xproto 7.0.28

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-08-24 00:00:18 -07:00
..
dmx configurable maximum number of clients 2015-08-24 00:00:18 -07:00
kdrive cursor: drop ARGB_CURSOR 2015-06-30 12:17:51 +10:00
vfb xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfree86 configurable maximum number of clients 2015-08-24 00:00:18 -07:00
xnest Merge remote-tracking branch 'jturney/mingw-build-fixes' 2015-05-11 15:36:53 -07:00
xquartz dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
xwayland xwayland: Don't (double) destroy input resources in CloseScreen 2015-08-12 08:53:38 -07:00
xwin dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00