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>
This commit is contained in:
Daniel Stone
2008-08-09 16:45:45 +03:00
parent 08363c5830
commit 6727ee9408
11 changed files with 29 additions and 61 deletions

View File

@@ -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;