Selon Richard Heck <[EMAIL PROTECTED]>:

> > If I follow you (not completely sure), what you propose is in the attached
> > patch. That works for me. What do you think about it?
> >
> I'm not expert with this code, but I think that updateFlags will
> overwrite whatever was previously there.

Surely.

> So we need something like:
>     virtual bool InsetText::notifyCursorLeaves(Cursor & cur) {
>        if(wide()) {
>           Update::flags tmp = cur.updateFlags();
>           tmp |= Update::Force;
>           cur.updateFlags(tmp);
>         return false;
>     }
> But someone with more knowledge of this should look at it.

That would be nice :)

> I'd suggest starting a new thread with some version of this patch.

I attached a new version which takes into account your remark. Waiting for
comments...

Mael.

Attachment: update-screen-when-cursor leaves-insettext-v2.patch
Description: Binary data

Reply via email to