xserver-multidpi/hw/dmx
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
..
config Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
doxygen dmx: modernize doxygen generation. 2011-05-13 14:08:07 -07:00
examples Fix formatting of address operators 2012-12-05 18:09:48 -06:00
glxProxy configurable maximum number of clients 2015-08-24 00:00:18 -07:00
input Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
man dmx: Remove ShadowFB support 2013-09-10 13:28:23 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
dmx_glxvisuals.c glx: Correctly set render type enum 2013-10-24 11:16:30 -07:00
dmx_glxvisuals.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx-config.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmx.h dmx: Remove ShadowFB support 2013-09-10 13:28:23 -04:00
dmxcb.c dmx: remove redundant redeclarations of variables from other headers 2015-02-10 18:14:44 -08:00
dmxcb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxclient.h Bunch of DMX warning fixes 2014-01-12 10:14:49 -08:00
dmxcmap.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxcmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcursor.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxcursor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxextension.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxextension.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxfont.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxfont.h dmx: remove redundant declaration of dmxFontPrivateIndex from dmxfont.h 2015-02-10 18:14:44 -08:00
dmxgc.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxgc.h dmx: constify GCOps & GCFuncs pointers 2015-02-10 18:14:45 -08:00
dmxgcops.c mi: Drop plane argument from miHandleExposures 2014-10-09 11:14:53 +02:00
dmxgcops.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxinit.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxinit.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxlog.c dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
dmxlog.h dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
dmxpict.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxpict.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dmxpixmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpixmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxprop.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxprop.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxscrinit.c dmx: remove unused variables 2015-02-10 18:14:44 -08:00
dmxscrinit.h api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dmxstat.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxstat.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxsync.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxsync.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxwindow.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxwindow.h dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
Makefile.am Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00