diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-04-25 19:39:48 +0300 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-11-04 16:01:42 +1030 |
commit | 67b7e06c4fa4e8dafb64d9f3eb976836d0cc5889 (patch) | |
tree | e257a9a630f6a211bd580b6c2ca6937b10764b7c /include | |
parent | d9ff20e323ba9fb309629ac21946e85709625589 (diff) |
XKB: Remove pointless macros
These weren't even being used, which isn't overly surprising, given that
they were already in the struct.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xkbstr.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/xkbstr.h b/include/xkbstr.h index 214a5543c..5eebe41e3 100644 --- a/include/xkbstr.h +++ b/include/xkbstr.h @@ -59,10 +59,6 @@ typedef struct _XkbStateRec { unsigned char compat_lookup_mods; unsigned short ptr_buttons; } XkbStateRec,*XkbStatePtr; -#define XkbModLocks(s) ((s)->locked_mods) -#define XkbStateMods(s) ((s)->base_mods|(s)->latched_mods|XkbModLocks(s)) -#define XkbGroupLock(s) ((s)->locked_group) -#define XkbStateGroup(s) ((s)->base_group+(s)->latched_group+XkbGroupLock(s)) #define XkbStateFieldFromRec(s) XkbBuildCoreState((s)->lookup_mods,(s)->group) #define XkbGrabStateFromRec(s) XkbBuildCoreState((s)->grab_mods,(s)->group) |