[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Canvas / button interaction

From: Jens Thoms Toerring
Subject: Re: [XForms] Canvas / button interaction
Date: Fri, 10 Feb 2012 11:11:37 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Clive,

On Fri, Feb 10, 2012 at 01:37:46AM +0000, Clive Stubbings wrote:
> More bits of data..
> Adding XFlush() and XSync() calls after the polygon draw makes no difference.
> A redraw as a result of an expose event - eg window raise does
> result in correct drawing.
> Interestingly, it can be any part of the window that is exposed - it
> doesn't have to be the bit with the button in it, or the bit with the
> canvas..
> Two things that are different in the 2 cases are the clipping calls and
> the value of flx->win, but it looks like they are not the problem.

Mmm, the different flx->win values worry me a bit. can there
something be going wrong with double buffering?

> Jens, any idea how to fake an expose event in Xforms? I'd like to
> see if what makes the difference is a real X-expose event or whether
> its something different in the xforms handling of expose vs draw.

I guess you could use fl_XPutBackEvent() to stick an arti-
ficially created event into XForms' event queue...

                               Best regards, Jens
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de

reply via email to

[Prev in Thread] Current Thread [Next in Thread]