diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-13 09:51:33 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-13 09:51:33 +1030 |
commit | 2b1d946392ce28b96941341778b2b526aa0fb126 (patch) | |
tree | bdd89b2320ba6a17034548e78d6872c051325551 /xkb/xkbPrKeyEv.c | |
parent | 70b4087c4dd1904d9d655f4afb9dfcea4f137f7a (diff) |
xkb: disable xkb key repeats (temporarily)
Haven't quite figured out yet how to make these repeats work. Because we share
the class between devices, the key state is already set when we process the
master device's event, causing a repeat on each event.
Diffstat (limited to 'xkb/xkbPrKeyEv.c')
-rw-r--r-- | xkb/xkbPrKeyEv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xkb/xkbPrKeyEv.c b/xkb/xkbPrKeyEv.c index f007f75f2..147df3e4c 100644 --- a/xkb/xkbPrKeyEv.c +++ b/xkb/xkbPrKeyEv.c @@ -76,6 +76,7 @@ int xiEvent; if ((behavior.type&XkbKB_Permanent)==0) { switch (behavior.type) { case XkbKB_Default: +#if 0 if (( xE->u.u.type == KeyPress || xE->u.u.type == DeviceKeyPress) && (keyc->down[key>>3] & (1<<(key&7)))) { @@ -112,6 +113,7 @@ int xiEvent; XkbLastRepeatEvent= NULL; return; } +#endif break; case XkbKB_Lock: if ( xE->u.u.type == KeyRelease || |