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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user