summaryrefslogtreecommitdiff
path: root/packages/qte/qte-2.3.10/spitz-adhoc-keypad-rotate.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qte/qte-2.3.10/spitz-adhoc-keypad-rotate.patch')
-rw-r--r--packages/qte/qte-2.3.10/spitz-adhoc-keypad-rotate.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/qte/qte-2.3.10/spitz-adhoc-keypad-rotate.patch b/packages/qte/qte-2.3.10/spitz-adhoc-keypad-rotate.patch
new file mode 100644
index 0000000000..a32207dc14
--- /dev/null
+++ b/packages/qte/qte-2.3.10/spitz-adhoc-keypad-rotate.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Index: qt-2.3.10/src/kernel/kernelkeyboard.cpp
+===================================================================
+--- qt-2.3.10.orig/src/kernel/kernelkeyboard.cpp 2006-04-05 23:04:30.000000000 +0200
++++ qt-2.3.10/src/kernel/kernelkeyboard.cpp 2006-04-05 23:09:40.514650408 +0200
+@@ -568,7 +568,11 @@
+ case Qt::Key_Down:
+ unicode = 0xffff;
+ mod_key = false;
++#if QT_QWS_SLCXK
++ if (qt_screen->transformOrientation() != 3)
++#else
+ if (qt_screen->isTransformed())
++#endif
+ qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) );
+ break;
+ /*