xorg-x11-server/keyrelease-1.5.2.diff

23 lines
913 B
Diff

Index: xorg-server-1.5.2/xkb/xkbPrKeyEv.c
===================================================================
--- xorg-server-1.5.2.orig/xkb/xkbPrKeyEv.c
+++ xorg-server-1.5.2/xkb/xkbPrKeyEv.c
@@ -96,17 +96,6 @@ int xiEvent;
else if ((xE->u.u.type==KeyRelease ||
xE->u.u.type == DeviceKeyRelease) &&
(!(keyc->down[key>>3]&(1<<(key&7))))) {
- XkbLastRepeatEvent= (pointer)&xE;
- if (xiEvent)
- xE->u.u.type = DeviceKeyPress;
- else
- xE->u.u.type = KeyPress;
- XkbHandleActions(keybd,keybd,xE,count);
- if (xiEvent)
- xE->u.u.type = DeviceKeyRelease;
- else
- xE->u.u.type = KeyRelease;
- XkbHandleActions(keybd,keybd,xE,count);
XkbLastRepeatEvent= NULL;
return;
}