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

Dan Nicholson dbn.lists at gmail.com
Fri Jan 15 08:36:14 PST 2010


On Thu, Jan 14, 2010 at 9:32 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> 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
> --

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list