diff -Nru tqt-qt4-3.5.13/debian/changelog tqt-qt4-3.5.13/debian/changelog --- tqt-qt4-3.5.13/debian/changelog 2011-08-14 00:17:16.000000000 -0500 +++ tqt-qt4-3.5.13/debian/changelog 2011-08-19 13:27:18.000000000 -0500 @@ -1,44 +1,14 @@ -tqt-qt4 (4:3.5.13-0ubuntu7+sr45~natty) natty; urgency=low +tqt-qt4 (4:3.5.13-0ubuntu7+sr46~natty) natty; urgency=low * Automated svn build - -- root Sun, 14 Aug 2011 00:17:16 -0500 + -- root Fri, 19 Aug 2011 13:27:18 -0500 -tqt-qt4 (4:3.5.13-0ubuntu7+sr45~maverick) maverick; urgency=low +tqt-qt4 (4:3.5.13-0ubuntu7+sr46~maverick) maverick; urgency=low * Automated svn build - -- root Sun, 14 Aug 2011 00:16:20 -0500 - -tqt-qt4 (4:3.5.13-0ubuntu7+sr44~squeeze) squeeze; urgency=low - - * Automated svn build - - -- root Sat, 13 Aug 2011 13:09:35 -0500 - -tqt-qt4 (4:3.5.13-0ubuntu7+sr44~natty) natty; urgency=low - - * Automated svn build - - -- root Sat, 13 Aug 2011 13:09:10 -0500 - -tqt-qt4 (4:3.5.13-0ubuntu7+sr44~maverick) maverick; urgency=low - - * Automated svn build - - -- root Sat, 13 Aug 2011 13:08:45 -0500 - -tqt-qt4 (4:3.5.13-0ubuntu7+sr44~lucid) lucid; urgency=low - - * Automated svn build - - -- root Sat, 13 Aug 2011 13:08:21 -0500 - -tqt-qt4 (4:3.5.13-0ubuntu7+sr44~lenny) lenny; urgency=low - - * Automated svn build - - -- root Sat, 13 Aug 2011 13:07:26 -0500 + -- root Fri, 19 Aug 2011 13:26:53 -0500 tqt-qt4 (4:3.4.0-0ubuntu0) maverick; urgency=low diff -Nru tqt-qt4-3.5.13/src/kernel/tqinternal.cpp tqt-qt4-3.5.13/src/kernel/tqinternal.cpp --- tqt-qt4-3.5.13/src/kernel/tqinternal.cpp 2011-08-10 17:56:37.000000000 -0500 +++ tqt-qt4-3.5.13/src/kernel/tqinternal.cpp 2011-08-19 13:21:32.000000000 -0500 @@ -44,6 +44,11 @@ #include "tqpainter.h" #include "tqcleanuphandler.h" +// Modern systems (year 2011) have very large screens in excess of 1000 pixels wide +// Some may even have screens in excess of 4000 pixels wide(!) +// Prevent drawing artifacts on such screens +#define USE_HUGE_QT_SHARED_DOUBLE_BUFFERS 1 + static TQPixmap* qdb_shared_pixmap = 0; static TQPixmap *qdb_force_pixmap = 0; static TQSharedDoubleBuffer* qdb_owner = 0; @@ -74,9 +79,15 @@ // static const int sharedLimitWidth = 64; // static const int sharedLimitHeight = 20; // #else +#ifdef USE_HUGE_QT_SHARED_DOUBLE_BUFFERS +// 24M on 32bpp +static const int sharedLimitWidth = 6400; +static const int sharedLimitHeight = 1000; +#else // 240K on 32bpp static const int sharedLimitWidth = 640; static const int sharedLimitHeight = 100; +#endif // #endif // ******************************************************************* @@ -533,8 +544,13 @@ rw = 4000; // 32MB seems reasonable enough, but the usage is likely to be wider than it is tall (think of multiple wide monitors) rh = 2000; #else // USE_QT4 +#ifdef USE_HUGE_QT_SHARED_DOUBLE_BUFFERS + rw = TQMIN(rw, 16000); + rh = TQMIN(rh, 16000); +#else rw = TQMIN(rw, 8000); rh = TQMIN(rh, 8000); +#endif #endif // USE_QT4 // need to create a big pixmap and start the cleaner if ( ! qdb_force_pixmap ) {