OLD | NEW |
(Empty) | |
| 1 This is a probably-wrong fix for an issue where autorepeat |
| 2 is disabled for keys assigned by XKB. As far as I can tell, |
| 3 XKB has the correct autorepeat settings for the keys before |
| 4 a completely-empty autorepeat array from X is copied over |
| 5 it; then the XKB array is copied back to X. This makes us |
| 6 skip the first copy. |
| 7 |
| 8 diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c |
| 9 index 75e243c..bceb55c 100644 |
| 10 --- a/xkb/xkbUtils.c |
| 11 +++ b/xkb/xkbUtils.c |
| 12 @@ -342,9 +342,6 @@ CARD8 * repeat; |
| 13 xkb= xkbi->desc; |
| 14 repeat= xkb->ctrls->per_key_repeat; |
| 15 |
| 16 - if (pXDev->kbdfeed) |
| 17 - memcpy(repeat,pXDev->kbdfeed->ctrl.autoRepeats,32); |
| 18 - |
| 19 XkbUpdateDescActions(xkb,first,num,changes); |
| 20 |
| 21 if ((pXDev->kbdfeed)&& |
OLD | NEW |