Re: [PATCH] x11: handle WM_DELETE_WINDOW

Charles Gordon <[email protected]> Tue, 7 Jan 2014 01:36:58 +0100
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
Hi Francois,

Glad to see that you hack qemacs further…
I am working on charsets and modes, and I shall commit your patches as well.

The crash bug you mention is “documented” in the do_less_exit function.
The window life cycle needs a substantial rework, along with the save_mode_data stuff.
Yet the fix for this particular bug does not seem too complicated.

Commits should come early tomorrow.

Chqrlie.

On 7 janv. 2014, at 01:17, François Revol <[email protected]> wrote:

> This patch tries to handle the window close event in X11.
> 
> I did the same as in the Haiku code, although I'm not sure it's the best
> way.
> 
> Actually I noticed a bug when testing it:
> - open a file
> - make a change
> - hit F1
> - hit F1
> - hit C-g
> - hit C-g
> 
> here it segfaults...
> 
> François.
> <qemacs-x11-wm_delete_window.diff>_______________________________________________
> Qemacs-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/qemacs-devel