summaryrefslogtreecommitdiff
path: root/xkb/xkbAccessX.c
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 /xkb/xkbAccessX.c
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 'xkb/xkbAccessX.c')
-rw-r--r--xkb/xkbAccessX.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xkb/xkbAccessX.c b/xkb/xkbAccessX.c
index 85d409650..b98b0d854 100644
--- a/xkb/xkbAccessX.c
+++ b/xkb/xkbAccessX.c
@@ -748,7 +748,6 @@ deviceKeyButtonPointer *kbp = xE;
XkbUpdateIndicators(dev,changed_leds,True,NULL,&cause);
}
}
- dev->key->state= XkbStateFieldFromRec(&xkbi->state);
}
if (((xkbi->flags&_XkbStateNotifyInProgress)==0)&&(changed!=0)) {