summaryrefslogtreecommitdiff
path: root/recipes/xqt2/files/fix_qtscreen_HACK.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/xqt2/files/fix_qtscreen_HACK.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/xqt2/files/fix_qtscreen_HACK.patch')
-rw-r--r--recipes/xqt2/files/fix_qtscreen_HACK.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/recipes/xqt2/files/fix_qtscreen_HACK.patch b/recipes/xqt2/files/fix_qtscreen_HACK.patch
new file mode 100644
index 0000000000..7e4b2c658a
--- /dev/null
+++ b/recipes/xqt2/files/fix_qtscreen_HACK.patch
@@ -0,0 +1,55 @@
+diff -Nur xc/../xqt2.vanilla/xfree86/xqt-driver/qtscreen.cc xc/../xqt2/xfree86/xqt-driver/qtscreen.cc
+--- xc/../xqt2.vanilla/xfree86/xqt-driver/qtscreen.cc 2008-09-25 14:18:44.000000000 +0200
++++ xc/../xqt2/xfree86/xqt-driver/qtscreen.cc 2008-09-25 14:28:30.000000000 +0200
+@@ -109,6 +109,7 @@
+ desktopSize = newSize;
+ fullScrSize = desktopSize;
+ normalScrSize = fullScrSize;
++ /* FIXME: get taskbar size from opie
+ if (normalScrSize.height() >= 400) {
+ normalScrSize.setHeight( normalScrSize.height() - 38);
+ } else {
+@@ -117,7 +118,7 @@
+
+ if (!g_fFullScreen) {
+ fullScrSize = normalScrSize;
+- }
++ }*/
+
+ #ifdef DEBUG_SCR
+ normalScrSize.setHeight(640);
+@@ -128,6 +129,7 @@
+ setDisplaySize();
+
+ #ifdef QWS
++ /* FIXME: fix this more general
+ // zaurus hack
+ if (desktopSize.width() > desktopSize.height()) {
+ shadow.setScrRandr(270);
+@@ -136,6 +138,10 @@
+ shadow.setScrRandr(0);
+ qtRandRRotate(0);
+ }
++ */
++ // until that
++ shadow.setScrRandr(0);
++ qtRandRRotate(0);
+ #endif
+ }
+
+@@ -148,6 +154,7 @@
+ *h = fullScrSize.height();
+
+ #ifdef QWS
++ /* FIXME: dix this more general
+ // zaurus hack
+ if (*w > *h) {
+ // rotate!
+@@ -155,6 +162,7 @@
+ *w = *h;
+ *h = sw;
+ }
++ */
+
+ *depth = 16; // 16bpp ¸ÇÄê
+ *bits = NULL;