summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);