diff options
author | Timothy Pearson <[email protected]> | 2012-08-07 16:10:53 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-08-07 16:10:53 -0500 |
commit | 48340208cb1a6331ef7d1be3275d24ac6dbbaeea (patch) | |
tree | 337db5e03b7bd7caacca08084c20a9fe0955d631 /src/MainWidget.cpp | |
parent | 216f8c01b5e61162090070b266a7c53f72dfca72 (diff) | |
download | kvkbd-48340208cb1a6331ef7d1be3275d24ac6dbbaeea.tar.gz kvkbd-48340208cb1a6331ef7d1be3275d24ac6dbbaeea.zip |
Update deprecated XKeycodeToKeysym call
Diffstat (limited to 'src/MainWidget.cpp')
-rw-r--r-- | src/MainWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index 143c427..1571a1a 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -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); |