<p dir="ltr">I will do accordingly in future.</p>
<p dir="ltr">I'll leave a refined answer here for fixing claws-mail flicker with  compton. </p>
<p dir="ltr">The issue occurs because Compton by default tries to redirect output from full screen windows to X. This is done to increase frame-rate on applications like games which might have bad performance because of an intervening compositor layer. Some applications can cause this redirection attempt to be visible. If you have an auto-hiding status bar at the bottom, it will flicker each time the bar shows or hides itself (as in my setup). These steps will fix the issue -</p>
<p dir="ltr">1. Locate compton.conf file (its in <i>/etc/</i><i>xdg</i><i>/</i> on my system). Then, either -</p>
<p dir="ltr">2. Comment out the line '<i>unredir-if-possible</i><i> = true;' </i>or</p>
<p dir="ltr">3. Add <i>unredir-</i><i>if-</i><i>possible-exclude</i><i> = [ "class_g = </i><i>'Claws-mail</i><i>'</i><i> "];</i>     or -</p>
<p dir="ltr">4. Add <i>unredir-</i><i>if-</i><i>possible-delay</i><i> = 500;</i> This adds a 500 ms delay between the redirection and stops in the flicker in <i>nearly</i> all use cases. </p>
<p dir="ltr">Thanks for all the help.</p>
<p dir="ltr">Cheers,<br>
Brahm<br>
</p>
<div class="gmail_quote">On May 4, 2016 1:10 PM, "Ricardo Mones" <<a href="mailto:ricardo@mones.org">ricardo@mones.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, May 03, 2016 at 10:07:54PM +0530, Brahm Prakash Mishra wrote:<br>
> Thanks, your suggestion helped me single in on the issue. It is the<br>
> 'unredir' option in compton config. Commenting it out or whitelisting<br>
> claws-mail solves the problem<br>
<br>
You're welcome. If you found a solution the usual is to answer to the<br>
public list, so others can find the answer in the future, even if it's<br>
off-topic ;-)<br>
<br>
regards,<br>
<br>
> On May 3, 2016 4:17 PM, "Ricardo Mones" <<a href="mailto:ricardo@mones.org">ricardo@mones.org</a>> wrote:<br>
><br>
> > On Mon, May 02, 2016 at 03:59:01PM +0530, Brahm Prakash Mishra wrote:<br>
> > > I need to start compton on i3 for my chromium to display correctly (it<br>
> > > gives me tearing issues otherwise). If I do that however, claws-mail<br>
> > starts<br>
> > > flickering. If I stop compton, it works properly again.<br>
> ><br>
> > Given what the FAQ says I doubt that Claws Mail is the only affected…<br>
> ><br>
> > > Could someone help me debug the issue? Where can I look for the cause of<br>
> > > this happening?<br>
> ><br>
> > <a href="http://lmgtfy.com/?q=compton+faq" rel="noreferrer" target="_blank">http://lmgtfy.com/?q=compton+faq</a><br>
> ><br>
> > --<br>
> >   Ricardo Mones<br>
> >   ~<br>
> >   Never send a human to do a machine's job.               Agent Smith<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.claws-mail.org">Users@lists.claws-mail.org</a><br>
> > <a href="http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users</a><br>
> ><br>
> ><br>
<br>
--<br>
  Ricardo Mones<br>
  ~<br>
  The three principal virtues of a programmer are Laziness,<br>
  Impatience, and Hubris.                                    man perl<br>
<br>
</blockquote></div>