********************************************************/
+#include <X11/X.h>
+
#include "xkbcomp.h"
#include "xkbmisc.h"
#include "expr.h"
return False;
for (entry = tab; entry->name != NULL; entry++) {
- if (uStrCaseCmp(entry->name, string) == 0) {
+ if (strcasecmp(entry->name, string) == 0) {
*value_rtrn = entry->result;
return True;
}
{
const char *valStr;
valStr = XkbcAtomText(value->value.str);
- if (valStr && ((uStrCaseCmp(valStr, "usemodmapmods") == 0) ||
- (uStrCaseCmp(valStr, "modmapmods") == 0)))
+ if (valStr && ((strcasecmp(valStr, "usemodmapmods") == 0) ||
+ (strcasecmp(valStr, "modmapmods") == 0)))
{
*mods_rtrn = 0;
{"accessxtimeout", XkbAccessXTimeoutMask},
{"accessxfeedback", XkbAccessXFeedbackMask},
{"audiblebell", XkbAudibleBellMask},
- {"overlay1", XkbOverlay1Mask},
- {"overlay2", XkbOverlay2Mask},
{"ignoregrouplock", XkbIgnoreGroupLockMask},
{"all", XkbAllBooleanCtrlsMask},
+ {"overlay1", 0},
+ {"overlay2", 0},
{"none", 0},
{NULL, 0}
};
WSGO("Couldn't allocate space for action default\n");
return False;
}
- if (uStrCaseCmp(elem, "action") == 0)
+ if (strcasecmp(elem, "action") == 0)
new->action = XkbSA_NoAction;
else
{