Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
patch supplied from Peter G.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user