summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2008-08-04 23:06:08 +0300
committerDaniel Stone <daniel@fooishbar.org>2008-08-05 01:17:32 +0300
commit5532d63488ec45953ff7f925cfb4f87adb3b04a0 (patch)
tree13999b71862b50fcb6ace956f49ae7002ecfad56 /include
parente882ee7056f370e0619d137b4ec3973ecb4e3479 (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.h2
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;