diff options
author | marha <marha@users.sourceforge.net> | 2012-05-04 12:55:05 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-05-04 12:55:05 +0200 |
commit | 38e785557684536d03fff096d56d5db61cc42e8a (patch) | |
tree | 6b37b8716a8e443c11caab46516f75529c7f2d58 /xorg-server/include | |
parent | 460182676a960385dff96c1563f781213060f6fc (diff) | |
download | vcxsrv-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')
-rw-r--r-- | xorg-server/include/misc.h | 2 | ||||
-rw-r--r-- | xorg-server/include/resource.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/include/misc.h b/xorg-server/include/misc.h index 8f986d988..aa5d2fde8 100644 --- a/xorg-server/include/misc.h +++ b/xorg-server/include/misc.h @@ -93,7 +93,7 @@ static double __inline trunc(double d) #ifndef MAXSCREENS #define MAXSCREENS 16 #endif -#define MAXCLIENTS 256 +#define MAXCLIENTS 1024 #define MAXEXTENSIONS 128 #define MAXFORMATS 8 #define MAXDEVICES 40 /* input devices */ 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 */ |