Andre Poenitz wrote:

> On Fri, Oct 10, 2003 at 12:23:35PM +0000, Angus Leeming wrote:
>> I put a lyxerr statement in InsetFormula::draw. I have a doc with
>> no math on the first screen. I do not have cursor follows mouse.
>> 
>> Open up the doc within lyx. Cursor at the top of the screen of
>> course. No print statements (no math insets are drawn).
>> 
>> Scroll down using the scrollbar until I arrive at the math, then
>> stop. The cursor remains at the top of the doc.
>> 
>> The print statement is repeated indefinitely. Ie, the inset is
>> being redrawn continually.
>> 
>> Now click on the document, bringing the cursor into view. 2 more
>> print statements per visible inset, then no more. The cursor is
>> blinking. Everything is fine.
>> 
>> So, why are we redrawing continually when the cursor is off screen?
> 
> Don't know. Some of the 'redraw everything all time' stuff still at
> work?

Ok, this happens only when running within valgrind. Go figure.

-- 
Angus

Reply via email to