mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user