|
|
|
@ -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;
|
|
|
|
|