[PATCH 07/11] xkb: remove unused _XkbIsPressEvent and _XkbIsReleaseEvent defines

Peter Hutterer peter.hutterer at who-t.net
Thu Jan 14 21:32:15 PST 2010


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 include/xkbsrv.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/xkbsrv.h b/include/xkbsrv.h
index bc74eef..4575a8a 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -306,9 +306,6 @@ extern _X_EXPORT CARD32	xkbDebugFlags;
 extern	_X_EXPORT int	DeviceKeyPress,DeviceKeyRelease,DeviceMotionNotify;
 extern	_X_EXPORT int	DeviceButtonPress,DeviceButtonRelease;
 
-#define	_XkbIsPressEvent(t)	(((t)==KeyPress)||((t)==DeviceKeyPress))
-#define	_XkbIsReleaseEvent(t)	(((t)==KeyRelease)||((t)==DeviceKeyRelease))
-
 #define	Status		int
 
 #ifndef True
-- 
1.6.6



More information about the xorg-devel mailing list