summaryrefslogtreecommitdiff
path: root/Xext
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 /Xext
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 'Xext')
-rw-r--r--Xext/mbufbf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Xext/mbufbf.c b/Xext/mbufbf.c
index afa6177ab..e929ab5fd 100644
--- a/Xext/mbufbf.c
+++ b/Xext/mbufbf.c
@@ -47,6 +47,7 @@ in this Software without prior written authorization from The Open Group.
#include "gcstruct.h"
#include "inputstr.h"
#include "validate.h"
+#include "globals.h"
#include <sys/time.h>
#define _MULTIBUF_SERVER_ /* don't want Xlib structures */
@@ -199,8 +200,6 @@ static Bool bufChangeWindowAttributes();
static void bufClearToBackground();
static void bufCopyWindow();
-extern WindowPtr *WindowTable;
-
static Bool
bufMultibufferInit(pScreen, pMBScreen)
ScreenPtr pScreen;