Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym

patch supplied from Peter G.
This commit is contained in:
Jon Trulson
2020-03-23 12:51:18 -06:00
parent 6f1a110e1d
commit 15a2032626
6 changed files with 9 additions and 9 deletions

View File

@@ -302,7 +302,7 @@ void HandlePlacementKeyEvent (ClientData *pcd, XKeyEvent *pev)
}
/* convert event data to useful key data */
keysym = XKeycodeToKeysym (DISPLAY, pev->keycode, 0);
keysym = XkbKeycodeToKeysym (DISPLAY, pev->keycode, 0, 0);
control = (pev->state & ControlMask) != 0;
big_inc = DisplayWidth(DISPLAY, ACTIVE_PSD->screen) / 20;