1
0
xorg-x11-server/keyrelease-1.5.2.diff
OBS User autobuild de140e0677 Accepting request 19080 from X11:XOrg
Copy from X11:XOrg/xorg-x11-server based on submit request 19080 from user sndirsch

OBS-URL: https://build.opensuse.org/request/show/19080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xorg-x11-server?expand=0&rev=138
2009-08-28 18:30:20 +00:00

23 lines
925 B
Diff

Index: xorg-server-1.6.3.901/xkb/xkbPrKeyEv.c
===================================================================
--- xorg-server-1.6.3.901.orig/xkb/xkbPrKeyEv.c
+++ xorg-server-1.6.3.901/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;
}