summaryrefslogtreecommitdiff
path: root/include/inputstr.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-08-09 16:45:45 +0300
committerDaniel Stone <daniel@fooishbar.org>2009-01-22 15:08:55 +1100
commit6727ee94086d238f9f99379280d4e4827f388cce (patch)
treecdd241f77a324e83c630fe847036b3ecae344e4e /include/inputstr.h
parent08363c5830bdea34012dcd954b45ccfdc79a3a7e (diff)
Input: Remove state from KeyClassRec
We already have state fully stored within XKB, so instead of duplicating it, just generate the values to send to clients when required. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/inputstr.h')
-rw-r--r--include/inputstr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index d1a965b28..7ff8dcbbb 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -142,8 +142,6 @@ typedef struct _KeyClassRec {
int modifierKeyCount[8];
CARD8 modifierMap[MAP_LENGTH];
CARD8 maxKeysPerModifier;
- unsigned short state;
- unsigned short prev_state;
struct _XkbSrvInfo *xkbInfo;
} KeyClassRec, *KeyClassPtr;