From 58b030bb901b77ba97fdaf64fca4403b81445aaf Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 20 May 2012 20:39:35 +0300 Subject: Move XKB_KEY_NoSymbol to xkbcommon-keysyms.h This avoids a couple of special cases in the code, and is more consistent. Since anyone who includes xkbcommon.h also gets xkbcommon-keysyms.h, and anyone who include xkbcommon-keysyms.h would want NoSymbol anyway, there's no down side. Signed-off-by: Ran Benita --- include/xkbcommon/xkbcommon-keysyms.h | 1 + include/xkbcommon/xkbcommon.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/xkbcommon/xkbcommon-keysyms.h b/include/xkbcommon/xkbcommon-keysyms.h index 26c1e3a..2c1ab95 100644 --- a/include/xkbcommon/xkbcommon-keysyms.h +++ b/include/xkbcommon/xkbcommon-keysyms.h @@ -112,6 +112,7 @@ SOFTWARE. * */ +#define XKB_KEY_NoSymbol 0x000000 /* Special KeySym */ #define XKB_KEY_VoidSymbol 0xffffff /* Void symbol */ /* diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index 0fb5178..4c148d5 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -87,8 +87,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include -#define XKB_KEY_NoSymbol 0L /* special KeySym */ - typedef uint32_t xkb_keycode_t; typedef uint32_t xkb_keysym_t; typedef uint32_t xkb_mod_index_t; -- cgit v1.2.1