Revert "xkb: disable xkb key repeats (temporarily)"
This reverts commit 2b1d946392
.
This commit is contained in:
parent
b05246696d
commit
1635832c16
|
@ -76,7 +76,6 @@ int xiEvent;
|
||||||
if ((behavior.type&XkbKB_Permanent)==0) {
|
if ((behavior.type&XkbKB_Permanent)==0) {
|
||||||
switch (behavior.type) {
|
switch (behavior.type) {
|
||||||
case XkbKB_Default:
|
case XkbKB_Default:
|
||||||
#if 0
|
|
||||||
if (( xE->u.u.type == KeyPress ||
|
if (( xE->u.u.type == KeyPress ||
|
||||||
xE->u.u.type == DeviceKeyPress) &&
|
xE->u.u.type == DeviceKeyPress) &&
|
||||||
(keyc->down[key>>3] & (1<<(key&7)))) {
|
(keyc->down[key>>3] & (1<<(key&7)))) {
|
||||||
|
@ -113,7 +112,6 @@ int xiEvent;
|
||||||
XkbLastRepeatEvent= NULL;
|
XkbLastRepeatEvent= NULL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
case XkbKB_Lock:
|
case XkbKB_Lock:
|
||||||
if ( xE->u.u.type == KeyRelease ||
|
if ( xE->u.u.type == KeyRelease ||
|
||||||
|
|
Loading…
Reference in New Issue