Move EXTENSION_BASE and EXTENSION_EVENT_BASE to misc.h.

This commit is contained in:
Peter Hutterer 2008-10-31 16:23:34 +10:30
parent f781a752e6
commit b6b26560d6
6 changed files with 3 additions and 7 deletions

View File

@ -48,7 +48,6 @@
#include <X11/extensions/xteststr.h>
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#define EXTENSION_EVENT_BASE 64
#include "modinit.h"

View File

@ -50,7 +50,6 @@ SOFTWARE.
*
*/
#define EXTENSION_EVENT_BASE 64
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H

View File

@ -179,8 +179,6 @@ int xeviegrabState = 0;
/**
* Extension events type numbering starts at EXTENSION_EVENT_BASE.
*/
#define EXTENSION_EVENT_BASE 64
#define NoSuchEvent 0x80000000 /* so doesn't match NoEventMask */
#define StructureAndSubMask ( StructureNotifyMask | SubstructureNotifyMask )
#define AllButtonsMask ( \

View File

@ -63,8 +63,6 @@ SOFTWARE.
#include "registry.h"
#include "xace.h"
#define EXTENSION_BASE 128
#define EXTENSION_EVENT_BASE 64
#define LAST_EVENT 128
#define LAST_ERROR 255

View File

@ -91,6 +91,9 @@ extern unsigned long serverGeneration;
#define MAXFORMATS 8
#define MAXDEVICES 20 /* input devices */
#define EXTENSION_EVENT_BASE 64
#define EXTENSION_BASE 128
typedef unsigned long PIXEL;
typedef unsigned long ATOM;

View File

@ -39,7 +39,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "exevents.h"
#include <xkbsrv.h>
#include <ctype.h>
#define EXTENSION_EVENT_BASE 64
/***====================================================================***/