mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +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
|
|
@ -48,6 +48,7 @@ from Kaleb S. KEITHLEY
|
|||
#include "swaprep.h"
|
||||
#include "xf86.h"
|
||||
#include "vidmodeproc.h"
|
||||
#include "globals.h"
|
||||
|
||||
#define DEFAULT_XF86VIDMODE_VERBOSITY 3
|
||||
|
||||
|
|
@ -122,8 +123,6 @@ static void SXF86VidModeNotifyEvent();
|
|||
xXF86VidModeNotifyEvent * /* to */
|
||||
);
|
||||
|
||||
extern WindowPtr *WindowTable;
|
||||
|
||||
static RESTYPE EventType; /* resource type for event masks */
|
||||
|
||||
typedef struct _XF86VidModeEvent *XF86VidModeEventPtr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue