summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication_x11.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-07 14:22:21 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-07 14:22:21 -0500
commit85b69937a320d0f7fdb4fd7703cfe41e92d6a67b (patch)
tree2e4e7106e6ac4f3d71f9d501248f0582fd7c743a /src/kernel/qapplication_x11.cpp
parent9e79d29898cbd4338491b4981a3e75a0f2bb8d81 (diff)
downloadtqt3-85b69937a320d0f7fdb4fd7703cfe41e92d6a67b.tar.gz
tqt3-85b69937a320d0f7fdb4fd7703cfe41e92d6a67b.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r--src/kernel/qapplication_x11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp
index abf1e9538..03e7a7794 100644
--- a/src/kernel/qapplication_x11.cpp
+++ b/src/kernel/qapplication_x11.cpp
@@ -2147,7 +2147,7 @@ void tqt_init_internal( int *argcptr, char **argv,
for (i = 0; i < map->max_keypermod; i++) {
if (map->modifiermap[mapIndex]) {
KeySym sym =
- XKeycodeToKeysym(appDpy, map->modifiermap[mapIndex], 0);
+ XkbKeycodeToKeysym(appDpy, map->modifiermap[mapIndex], 0, 0);
if ( qt_alt_mask == 0 &&
( sym == XK_Alt_L || sym == XK_Alt_R ) ) {
qt_alt_mask = 1 << maskIndex;
@@ -2177,7 +2177,7 @@ void tqt_init_internal( int *argcptr, char **argv,
for ( i = 0; i < map->max_keypermod; i++ ) {
if ( map->modifiermap[ mapIndex ] ) {
KeySym sym =
- XKeycodeToKeysym( appDpy, map->modifiermap[ mapIndex ], 0 );
+ XkbKeycodeToKeysym( appDpy, map->modifiermap[ mapIndex ], 0, 0 );
if ( sym == XK_Mode_switch ) {
qt_mode_switch_remove_mask |= 1 << maskIndex;
}