xkb: don't do core key repeats, XI only is the path to light.

This commit is contained in:
Peter Hutterer 2008-01-15 19:14:46 +10:30
parent 4fd0885978
commit 2a988ed75b

View File

@ -318,9 +318,8 @@ BOOL is_core;
is_core = (dev == inputInfo.keyboard);
key = xkbi->repeatKey;
AccessXKeyboardEvent(dev, is_core ? KeyRelease : DeviceKeyRelease, key,
True);
AccessXKeyboardEvent(dev, is_core ? KeyPress : DeviceKeyPress, key, True);
AccessXKeyboardEvent(dev, DeviceKeyRelease, key, True);
AccessXKeyboardEvent(dev, DeviceKeyPress, key, True);
return xkbi->desc->ctrls->repeat_interval;
}