summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-05-25 23:43:49 -0700
committerAdam Jackson <ajax@redhat.com>2016-07-21 15:04:47 -0400
commit8217c29d2d8b29bd66bc54fee3fe5cb3385a05c7 (patch)
treebcb601982b65aaf9b55a76dd49ee7afae74ff87c /include
parente0edb963fe09582f23a4b55da4f8840173e7a1ee (diff)
Allow 1024 and 2048 for LimitClients
There's no reason not to offer ridiculous numbers of clients; only a few static data structures are arrays of this length. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/misc.h b/include/misc.h
index 006f76822..01747fd38 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -87,7 +87,7 @@ OF THIS SOFTWARE.
#ifndef MAXGPUSCREENS
#define MAXGPUSCREENS 16
#endif
-#define MAXCLIENTS 512
+#define MAXCLIENTS 2048
#define LIMITCLIENTS 256 /* Must be a power of 2 and <= MAXCLIENTS */
#define MAXEXTENSIONS 128
#define MAXFORMATS 8