aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/resource.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-04 12:55:05 +0200
committermarha <marha@users.sourceforge.net>2012-05-04 12:55:05 +0200
commit38e785557684536d03fff096d56d5db61cc42e8a (patch)
tree6b37b8716a8e443c11caab46516f75529c7f2d58 /xorg-server/include/resource.h
parent460182676a960385dff96c1563f781213060f6fc (diff)
downloadvcxsrv-38e785557684536d03fff096d56d5db61cc42e8a.tar.gz
vcxsrv-38e785557684536d03fff096d56d5db61cc42e8a.tar.bz2
vcxsrv-38e785557684536d03fff096d56d5db61cc42e8a.zip
Made sure that the number of maximum clients is back at 1024
Diffstat (limited to 'xorg-server/include/resource.h')
-rw-r--r--xorg-server/include/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/include/resource.h b/xorg-server/include/resource.h
index 224e9bb18..02db6d80a 100644
--- a/xorg-server/include/resource.h
+++ b/xorg-server/include/resource.h
@@ -99,6 +99,9 @@ typedef uint32_t RESTYPE;
#if MAXCLIENTS == 512
#define RESOURCE_CLIENT_BITS 9
#endif
+#if MAXCLIENTS == 1024
+#define RESOURCE_CLIENT_BITS 10
+#endif
/* client field offset */
#define CLIENTOFFSET (RESOURCE_AND_CLIENT_COUNT - RESOURCE_CLIENT_BITS)
/* resource field */