diff options
author | Tomas Carnecky <tom@dbservice.com> | 2008-08-04 23:06:08 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2008-08-05 01:17:32 +0300 |
commit | 5532d63488ec45953ff7f925cfb4f87adb3b04a0 (patch) | |
tree | 13999b71862b50fcb6ace956f49ae7002ecfad56 /include | |
parent | e882ee7056f370e0619d137b4ec3973ecb4e3479 (diff) |
Redefine WindowTable as a fixed array
Instead of xalloc'ing it every server generation. The array is always
the same size (MAXSCREENS), anyway.
Diffstat (limited to 'include')
-rw-r--r-- | include/globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/globals.h b/include/globals.h index a95096f81..607bc4805 100644 --- a/include/globals.h +++ b/include/globals.h @@ -20,7 +20,7 @@ extern int monitorResolution; extern int defaultColorVisualClass; extern Bool Must_have_memory; -extern WindowPtr *WindowTable; +extern WindowPtr WindowTable[MAXSCREENS]; extern int GrabInProgress; extern Bool noTestExtensions; |