diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-07 16:11:36 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-07 16:11:36 -0500 |
commit | fb21946475ed2e1687c87077d9a5306861f6ff99 (patch) | |
tree | 007d30620841c6acae73d81f9acad43c082d35c0 | |
parent | 7ca05f932d3d76716d7ccc65eaa50a2ec4a8068e (diff) | |
download | koffice-fb21946475ed2e1687c87077d9a5306861f6ff99.tar.gz koffice-fb21946475ed2e1687c87077d9a5306861f6ff99.zip |
Update deprecated XKeycodeToKeysym call
-rw-r--r-- | chalk/ui/kis_canvas.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/ui/kis_canvas.cc b/chalk/ui/kis_canvas.cc index 2fdc813b..bcffde58 100644 --- a/chalk/ui/kis_canvas.cc +++ b/chalk/ui/kis_canvas.cc @@ -314,7 +314,7 @@ void KisCanvasWidget::initX11Support() for (int i = 0; i < map->max_keypermod; i++) { if (map->modifiermap[mapIndex]) { - KeySym sym = XKeycodeToKeysym(x11Display, map->modifiermap[mapIndex], 0); + KeySym sym = XkbKeycodeToKeysym(x11Display, map->modifiermap[mapIndex], 0, 0); if (X11AltMask == 0 && (sym == XK_Alt_L || sym == XK_Alt_R)) { X11AltMask = 1 << maskIndex; |