xkb: remove random broken vendor workarounds

This commit is contained in:
Daniel Stone 2006-10-08 23:21:12 +03:00 • committed by Daniel Stone
commit bd3d93be82
3 changed files with 2 additions and 60 deletions

View file

@ -45,24 +45,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XKBgeom.h>
#include "xkb.h"
#ifdef MODE_SWITCH
extern Bool noKME; /* defined in os/utils.c */
#endif
int XkbDisableLockActions = 0;
/***====================================================================***/
#ifndef RETURN_SHOULD_REPEAT
#if (defined(__osf__) && defined(__alpha))
#define RETURN_SHOULD_REPEAT 1
#else
#define RETURN_SHOULD_REPEAT 0
#endif
#endif
/***====================================================================***/
DeviceIntPtr
_XkbLookupAnyDevice(int id,int *why_rtrn)
{
@ -560,12 +546,6 @@ CARD8 keysPerMod[XkbNumModifiers];
}
}
}
#ifdef MODE_SWITCH
/* Fix up any of the KME stuff if we changed the core description.
*/
if (!noKME)
HandleKeyBinding(keyc, &keyc->curKeySyms);
#endif
return;
}