• Olivier Fourdan's avatar
    configurable maximum number of clients · d206c240
    Olivier Fourdan authored
    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
    Parts of this patch are based on a similar patch from Adam Jackson
    This now requires at least xproto 7.0.28
    Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
    Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
    Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
dispatch.c 115 KB