Move EXTENSION_BASE and EXTENSION_EVENT_BASE to misc.h.
This commit is contained in:
parent
f781a752e6
commit
b6b26560d6
|
@ -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"
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ SOFTWARE.
|
|||
*
|
||||
*/
|
||||
|
||||
#define EXTENSION_EVENT_BASE 64
|
||||
#define NEED_EVENTS
|
||||
#define NEED_REPLIES
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
|
|
|
@ -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 ( \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user