Abdelrazak Younes wrote:
Bo Peng wrote:
Dear all,

The attached patch will be applied tomorrow morning if there is no
objection. The main design ideas are that
1. enable mouse tracking
2. get inset under mouse (done by editXY) and pass notifyMouseEnter
and notifyMouseLeave to it.
3. if an inset (currently insetcommand and insetcollapsable) decides
to respond to notifyMouseEnter, it returns true to the notify
functions to be redrawn.
4. button painter now paints hover-style buttons. I have changed some
default colors for this.

Please test and comment.

I've tried it and I like it. Some colors needs adjustment though (Yellow 'Note' text is not very visible without the grey background).
More importantly there's three problems:

1) The cursor blinking is stopped when the mouse is moved. This is done in WorkArea::dispatch() IIRC. You might want to special case mouse_motion and button==none so that it is now stopped.

This patch to WorkArea.C fixes this. I will commit this now as this is a good idea anyway (even if not useful without your patch).

Abdel.

Reply via email to