Redefine WindowTable as a fixed array

Instead of xalloc'ing it every server generation. The array is always
the same size (MAXSCREENS), anyway.
This commit is contained in:
Tomas Carnecky 2008-08-04 23:06:08 +03:00 • committed by Daniel Stone
commit 5532d63488
8 changed files with 6 additions and 16 deletions

View file

@ -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;