include: untangle events.h from the SDK headers.
InternalEvents shouldn't be used anywhere outside the X server itself. Split up into events.h for opaque typedefs for the events needed by various headers and eventstr.h for the actual struct definitions. eventstr.h must only be included by code that requires internal events and is not part of the SDK. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -54,6 +54,7 @@ SOFTWARE.
|
||||
#include <X11/Xproto.h>
|
||||
#include "window.h" /* for WindowPtr */
|
||||
#include "xkbrules.h"
|
||||
#include "events.h"
|
||||
|
||||
#define DEVICE_INIT 0
|
||||
#define DEVICE_ON 1
|
||||
@@ -96,8 +97,6 @@ SOFTWARE.
|
||||
#define RevertToFollowKeyboard 3
|
||||
#endif
|
||||
|
||||
#include "events.h"
|
||||
|
||||
typedef unsigned long Leds;
|
||||
typedef struct _OtherClients *OtherClientsPtr;
|
||||
typedef struct _InputClients *InputClientsPtr;
|
||||
|
||||
Reference in New Issue
Block a user