mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Fix remnants of previous busted _XkbStrCaseCmp commit.
This commit is contained in:
parent
9e202dfe40
commit
5be8a66d32
6 changed files with 38 additions and 8 deletions
|
|
@ -26,13 +26,13 @@ XkbDDXPrivate(DeviceIntPtr dev,KeyCode key,XkbAction *act)
|
|||
if (xf86act->type == XkbSA_XFree86Private) {
|
||||
memcpy(msgbuf, xf86act->data, XkbAnyActionDataSize);
|
||||
msgbuf[XkbAnyActionDataSize]= '\0';
|
||||
if (_XkbStrCaseCmp(msgbuf, "-vmode")==0)
|
||||
if (strcmp(msgbuf, "-vmode")==0)
|
||||
xf86ProcessActionEvent(ACTION_PREV_MODE, NULL);
|
||||
else if (_XkbStrCaseCmp(msgbuf, "+vmode")==0)
|
||||
else if (strcmp(msgbuf, "+vmode")==0)
|
||||
xf86ProcessActionEvent(ACTION_NEXT_MODE, NULL);
|
||||
else if (_XkbStrCaseCmp(msgbuf, "ungrab")==0)
|
||||
else if (strcmp(msgbuf, "ungrab")==0)
|
||||
xf86ProcessActionEvent(ACTION_DISABLEGRAB, NULL);
|
||||
else if (_XkbStrCaseCmp(msgbuf, "clsgrb")==0)
|
||||
else if (strcmp(msgbuf, "clsgrb")==0)
|
||||
xf86ProcessActionEvent(ACTION_CLOSECLIENT, NULL);
|
||||
else
|
||||
xf86ProcessActionEvent(ACTION_MESSAGE, (void *) msgbuf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue