diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-06-28 13:52:19 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-06-28 13:52:19 +0000 |
commit | b2832b3baae7a7265136a67a0cf6cefb50c5756c (patch) | |
tree | ec1888eff005427e5ea2852dc8af9485dd946f43 /packages/qte | |
parent | 421c4bf839d4c2f5377ebf7655b549962dd2b870 (diff) |
qte-2.3.10: update suspend-resume-hooks patch for w100 accelleration on c7x0.
patch courtesy Manuel Teira - thanks!
Diffstat (limited to 'packages/qte')
-rw-r--r-- | packages/qte/qte-2.3.10/suspend-resume-hooks.patch | 28 | ||||
-rw-r--r-- | packages/qte/qte-mt-static_2.3.10.bb | 2 | ||||
-rw-r--r-- | packages/qte/qte-mt_2.3.10.bb | 2 | ||||
-rw-r--r-- | packages/qte/qte_2.3.10.bb | 2 |
4 files changed, 24 insertions, 10 deletions
diff --git a/packages/qte/qte-2.3.10/suspend-resume-hooks.patch b/packages/qte/qte-2.3.10/suspend-resume-hooks.patch index 34e6ba2133..c6e9f16e9a 100644 --- a/packages/qte/qte-2.3.10/suspend-resume-hooks.patch +++ b/packages/qte/qte-2.3.10/suspend-resume-hooks.patch @@ -1,12 +1,10 @@ -Suspend/Resume hooks for QScreen and usage from QApplication -Manuel Teira <manuel.teira@telefonica.net> # # Patch managed by http://www.holgerschurig.de/patcher.html # ---- qt-2.3.10/src/kernel/qgfx_qws.h~suspend-resume-hooks -+++ qt-2.3.10/src/kernel/qgfx_qws.h +--- qt-2.3.10.foo/src/kernel/qgfx_qws.h~suspend-resume-hooks ++++ qt-2.3.10.foo/src/kernel/qgfx_qws.h @@ -192,6 +192,8 @@ virtual int pixmapLinestepAlignment() { return 64; } @@ -16,8 +14,8 @@ Manuel Teira <manuel.teira@telefonica.net> virtual bool onCard(unsigned char *) const; virtual bool onCard(unsigned char *, ulong& out_offset) const; ---- qt-2.3.10/src/kernel/qapplication_qws.cpp~suspend-resume-hooks -+++ qt-2.3.10/src/kernel/qapplication_qws.cpp +--- qt-2.3.10.foo/src/kernel/qapplication_qws.cpp~suspend-resume-hooks ++++ qt-2.3.10.foo/src/kernel/qapplication_qws.cpp @@ -480,6 +480,7 @@ int region_offset_window; #ifndef QT_NO_COP @@ -35,7 +33,7 @@ Manuel Teira <manuel.teira@telefonica.net> queue.append(e); } #endif -@@ -851,6 +852,26 @@ +@@ -851,6 +852,42 @@ } } @@ -53,6 +51,22 @@ Manuel Teira <manuel.teira@telefonica.net> + if ( e->message.data() == QCString( "returnFromSuspend()" ) ) { + if ( qt_screen ) qt_screen->prepareToResume(); + delete e; ++ QWidgetList *list = QApplication::topLevelWidgets(); ++ if ( list ) { ++ QWidgetListIt it( *list ); ++ QWidget * w; ++ while ( (w=it.current()) != 0 ) { ++ ++it; ++ if ( !w->testWFlags(Qt::WType_Desktop) ) { ++ QETWidget *etw = (QETWidget*)w; ++ if ( etw->isVisible() ) { ++ etw->repaintHierarchy( etw->geometry(), TRUE ); ++ etw->repaintDecoration( qApp->desktop()->rect(), TRUE ); ++ } ++ } ++ } ++ delete list; ++ } + return TRUE; + } + return FALSE; diff --git a/packages/qte/qte-mt-static_2.3.10.bb b/packages/qte/qte-mt-static_2.3.10.bb index 4f2c0f945b..a71b2af103 100644 --- a/packages/qte/qte-mt-static_2.3.10.bb +++ b/packages/qte/qte-mt-static_2.3.10.bb @@ -1,5 +1,5 @@ require qte-common_${PV}.inc -PR = "r2" +PR = "r3" EXTRA_OECONF += "-static" diff --git a/packages/qte/qte-mt_2.3.10.bb b/packages/qte/qte-mt_2.3.10.bb index 90e84fe38d..95a67d2ef4 100644 --- a/packages/qte/qte-mt_2.3.10.bb +++ b/packages/qte/qte-mt_2.3.10.bb @@ -1,5 +1,5 @@ require qte-common_${PV}.inc -PR = "r2" +PR = "r3" EXTRA_OECONF += "-thread" diff --git a/packages/qte/qte_2.3.10.bb b/packages/qte/qte_2.3.10.bb index b1c4616f22..ed684a00c7 100644 --- a/packages/qte/qte_2.3.10.bb +++ b/packages/qte/qte_2.3.10.bb @@ -1,3 +1,3 @@ require qte-common_${PV}.inc -PR = "r43" +PR = "r44" |