dedup XK_Z in fixkeyboardinput.c (#87)

Closes #85.
This commit is contained in:
step 2022-10-15 15:40:39 +02:00 committed by GitHub
parent 13f2b133eb
commit d58abd5638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,6 @@ static KeySym mappedkeys[] = {
XK_X, XK_X,
XK_Y, XK_Y,
XK_Z, XK_Z,
XK_Z,
XK_0, XK_0,
XK_1, XK_1,
XK_2, XK_2,
@ -600,7 +599,6 @@ static Key key[] = {
{ XK_X, ControlMask|ShiftMask, "\033[88;6u", 0, 0}, { XK_X, ControlMask|ShiftMask, "\033[88;6u", 0, 0},
{ XK_Y, ControlMask|ShiftMask, "\033[89;6u", 0, 0}, { XK_Y, ControlMask|ShiftMask, "\033[89;6u", 0, 0},
{ XK_Z, ControlMask|ShiftMask, "\033[90;6u", 0, 0}, { XK_Z, ControlMask|ShiftMask, "\033[90;6u", 0, 0},
{ XK_Z, ControlMask|ShiftMask, "\033[90;6u", 0, 0},
{ XK_0, Mod1Mask|ControlMask, "\033[48;7u", 0, 0}, { XK_0, Mod1Mask|ControlMask, "\033[48;7u", 0, 0},
{ XK_1, ControlMask, "\033[49;5u", 0, 0}, { XK_1, ControlMask, "\033[49;5u", 0, 0},
{ XK_1, Mod1Mask|ControlMask, "\033[49;7u", 0, 0}, { XK_1, Mod1Mask|ControlMask, "\033[49;7u", 0, 0},