Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 261947
Collapse All | Expand All

(-)a/src/evdev.c (-3 / +11 lines)
Lines 263-270 PostKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value) Link Here
263
    static char warned[KEY_CNT];
263
    static char warned[KEY_CNT];
264
264
265
    /* Filter all repeated events from device.
265
    /* Filter all repeated events from device.
266
       We'll do softrepeat in the server */
266
       We'll do softrepeat in the server, but only since 1.6 */
267
    if (value == 2)
267
    if (value == 2
268
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) <= 2
269
        && (ev->code == KEY_LEFTCTRL || ev->code == KEY_RIGHTCTRL ||
270
            ev->code == KEY_LEFTSHIFT || ev->code == KEY_RIGHTSHIFT ||
271
            ev->code == KEY_LEFTALT || ev->code == KEY_RIGHTALT ||
272
            ev->code == KEY_LEFTMETA || ev->code == KEY_RIGHTMETA ||
273
            ev->code == KEY_CAPSLOCK || ev->code == KEY_NUMLOCK ||
274
            ev->code == KEY_SCROLLLOCK) /* XXX windows keys? */
275
#endif
276
            )
268
	return;
277
	return;
269
278
270
    if (code > 255)
279
    if (code > 255)
271
-

Return to bug 261947