emacs-devel
[Top][All Lists]
Advanced

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

Re: how to find out when display property is deleted in C?


From: joakim
Subject: Re: how to find out when display property is deleted in C?
Date: Tue, 13 May 2008 08:55:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> writes:


> Forgive me for chiming into a discussion I wasn't following about a
> subject that I'm mostly ignorant about, but: when the display property
> goes away, Emacs triggers a redisplay the next moment it doesn't have
> anything more important to do.  That redisplay should supply you with
> an event to remove the gtk widgets, no?  Just plug your
> widget-removing routines into the code that runs during redisplay.

I tried this and I'm still having difficulties. The redisplay
code optimizes drawing. It appears these optimizations make it so the
xwidget glyph draw routine isnt allways called on redisplay. I tried to
work around this by adding a flag to the buffer modify routines. The
idea is, if the flag is set and the widget hasnt been redrawn, then it
should die. So far I havent had any sucess.

-- 
Joakim Verona




reply via email to

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