Re: Trouble with delete-event



On Sun, Aug 31, 2003 at 07:47:25PM +0200, Giovanni Corriga wrote:
> Hi
> 
> I have some problems with handling delete-event. Even if I return a
> false value from the callback function, the window is deleted. I suspect
> this behaviour is caused by the window manager (Red Hat 9's Metacity).
> I'm observing the same behaiour in the tutorial's helloworld.c program,
> too.
> 
> Has it happened to anybody else? Is there a workaround for it?
> 

To prevent deletion, return TRUE, not FALSE.

Havoc



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