On Wed, Jan 04, 2006 at 12:55:42PM +0100, Abdel wrote:
> Jean-Marc Lasgouttes a écrit :
> >>>>>>"Abdel" == Abdel  <[EMAIL PROTECTED]> writes:

...

> I guess so yes. Following patch will do so.
> 
> Index: QWorkArea.C
> ===================================================================
> RCS file: /var/cvs/lyx/lyx-devel/src/frontends/qt2/QWorkArea.C,v
> retrieving revision 1.29
> diff -u -r1.29 QWorkArea.C
> --- QWorkArea.C 18 Jul 2005 00:29:12 -0000      1.29
> +++ QWorkArea.C 4 Jan 2006 11:52:18 -0000
> @@ -57,7 +57,10 @@
> 
>         content_->show();
> 
> -       content_->setBackgroundColor(lcolorcache.get(LColor::background));
> +       // It is said that this help reduce flicker
> +       content_->setBackgroundMode(NoBackground);
> +       // If we go back to a custom backgound call:
> +       // 
> content_->setBackgroundColor(lcolorcache.get(LColor::background));
> 
>         QHBoxLayout * vl = new QHBoxLayout(this);
>         vl->addWidget(content_, 5);
> 

A technical remark: please attach patches as real attachments, so
whitespace and formatting is preserved faithfully. Here, tabs have been
replaced by blanks and I had to do some manual work to make it apply.

Nice detective work BTW!

- Martin

Attachment: pgpB6Yvf3Wa1R.pgp
Description: PGP signature

Reply via email to