diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-11-10 22:51:58 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-11-10 22:51:58 +0000 |
commit | 9a5d27a8d933b853d126d12cfc426b147094441b (patch) | |
tree | e863107dc400e3ea0562eb497f2fa17121e83b69 /packages/libopie/libopie2 | |
parent | 326c5a075c7b083dcf1f03fa2fae99d65349c476 (diff) |
libopie2 1.2.3: Fix screen rotation issues.
* Addresses http://opie-bugs.oszine.de/view.php?id=1894
* Fixes rotation on h4000 with recent kernels.
* Sets sane default rotation for unknown devices.
Diffstat (limited to 'packages/libopie/libopie2')
-rw-r--r-- | packages/libopie/libopie2/h4000_and_default_rot.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/libopie/libopie2/h4000_and_default_rot.patch b/packages/libopie/libopie2/h4000_and_default_rot.patch new file mode 100644 index 0000000000..c10160d0b8 --- /dev/null +++ b/packages/libopie/libopie2/h4000_and_default_rot.patch @@ -0,0 +1,25 @@ +--- libopie2/opiecore/device/odevice_ipaq.cpp.org 2007-09-09 02:44:41.000000000 +0300 ++++ libopie2/opiecore/device/odevice_ipaq.cpp 2007-11-09 12:01:56.000000000 +0200 +@@ -178,6 +178,10 @@ + d->m_model = Model_iPAQ_HX4700; + else if ( d->m_modelstr == "H4000" ) + d->m_model = Model_iPAQ_H4xxx; ++ else if ( d->m_modelstr == "H4100" ) ++ d->m_model = Model_iPAQ_H4xxx; ++ else if ( d->m_modelstr == "H4300" ) ++ d->m_model = Model_iPAQ_H4xxx; + + else + d->m_model = Model_Unknown; +@@ -198,8 +202,10 @@ + case Model_iPAQ_H36xx: + case Model_iPAQ_H37xx: + case Model_iPAQ_H39xx: +- default: + d->m_rotation = Rot270; ++ break; ++ default: ++ d->m_rotation = Rot0; + break; + + } |