forked from pool/xorg-x11-server
23 lines
913 B
Diff
23 lines
913 B
Diff
Index: xorg-server-1.6.3/xkb/xkbPrKeyEv.c
|
|
===================================================================
|
|
--- xorg-server-1.6.3.orig/xkb/xkbPrKeyEv.c
|
|
+++ xorg-server-1.6.3/xkb/xkbPrKeyEv.c
|
|
@@ -95,17 +95,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;
|
|
}
|