diff options
Diffstat (limited to 'xorg-server/include/resource.h')
-rw-r--r-- | xorg-server/include/resource.h | 3 |
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 */ |