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?

-- 
Angus

Reply via email to