Revert "Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym"

This reverts commit 15a2032626.

This is wrong - it is missing the proper include file, and the
new function takes 4 arguments not 3.
This commit is contained in:
Jon Trulson
2021-07-04 13:00:51 -06:00
parent 3bc4132f9a
commit ac8bd41373
6 changed files with 9 additions and 9 deletions

View File

@@ -2125,7 +2125,7 @@ key_init(void)
X->kparray[i - X->kcmin] = 0 ;
for (j = 0; j < X->keysyms_per_key; ++j)
{
ks = XkbKeycodeToKeysym(X->dpy, i, j) ;
ks = XKeycodeToKeysym(X->dpy, i, j) ;
if (IsKeypadKey(ks))
{
X->kparray[i - X->kcmin] = 1 ;
@@ -2145,7 +2145,7 @@ keypad_keysym(XEvent *xevent)
for (i = 0; i < X->keysyms_per_key; ++i)
{
ks = XkbKeycodeToKeysym(X->dpy, keycode, i) ;
ks = XKeycodeToKeysym(X->dpy, keycode, i) ;
if (IsKeypadKey(ks))
{
#ifdef sun