mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
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:
parent
e882ee7056
commit
5532d63488
8 changed files with 6 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue