Fix XK_KP_Decimal and XK_KP_Separator being swapped on Linux
This commit is contained in:
parent
0bfa93814b
commit
9e11ba9902
1 changed files with 2 additions and 2 deletions
|
|
@ -153,11 +153,11 @@ uint16_t keysym(uint16_t modcode) {
|
||||||
case 0x6B:
|
case 0x6B:
|
||||||
return XK_KP_Add;
|
return XK_KP_Add;
|
||||||
case 0x6C:
|
case 0x6C:
|
||||||
return XK_KP_Decimal;
|
return XK_KP_Separator;
|
||||||
case 0x6D:
|
case 0x6D:
|
||||||
return XK_KP_Subtract;
|
return XK_KP_Subtract;
|
||||||
case 0x6E:
|
case 0x6E:
|
||||||
return XK_KP_Separator;
|
return XK_KP_Decimal;
|
||||||
case 0x6F:
|
case 0x6F:
|
||||||
return XK_KP_Divide;
|
return XK_KP_Divide;
|
||||||
case 0x90:
|
case 0x90:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue