Update deprecated XKeycodeToKeysym call

pull/2/head
Timothy Pearson 12 years ago
parent 216f8c01b5
commit 48340208cb

@ -876,9 +876,9 @@ void MainWidget::setupText(VButton& v)
KeyCode keycode=v.getKeyCode();
KeySym keysym_l = XKeycodeToKeysym(display, keycode, 0);
KeySym keysym_l = XkbKeycodeToKeysym(display, keycode, 0, 0);
KeySym keysym_u = XKeycodeToKeysym(display, keycode, 1);
KeySym keysym_u = XkbKeycodeToKeysym(display, keycode, 0, 1);
long ret = keysym2ucs(keysym_l);

Loading…
Cancel
Save