summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-08-07 16:10:53 -0500
committerTimothy Pearson <[email protected]>2012-08-07 16:10:53 -0500
commit48340208cb1a6331ef7d1be3275d24ac6dbbaeea (patch)
tree337db5e03b7bd7caacca08084c20a9fe0955d631 /src
parent216f8c01b5e61162090070b266a7c53f72dfca72 (diff)
downloadkvkbd-48340208cb1a6331ef7d1be3275d24ac6dbbaeea.tar.gz
kvkbd-48340208cb1a6331ef7d1be3275d24ac6dbbaeea.zip
Update deprecated XKeycodeToKeysym call
Diffstat (limited to 'src')
-rw-r--r--src/MainWidget.cpp4
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);