Re: WM_DELETE_WINDOW



On Sun, 21 Nov 1999, Paul Warren wrote:
> On Sun, 21 Nov 1999, Matthias Ettrich wrote:
> > On Mon, 22 Nov 1999, Miguel de Icaza wrote:
> 
> > > What happens with old clients?  You just kill them without giving
> > > them a chance to save their stuff?
> > 
> > What are you talking about?  I was talking about closing windows, not apps. We
> > do it just as people did it on X for the last 10 years: either killing or
> > sending a WM_DELETE_WINDOW client message if the client requests for this
> > protocol. All I suggested was a compatible extensions for new clients to detect
> > hanging applications.
> 
> Indeed.  The window needs a way to indicate that it is willing to play the
> ping game.  That way, a WM would know not to send pings to older,
> non-conforming apps.

Most certainly. I was talking about a wm protocol in the sense of WM_PROTOCOLS,
so the there are even convenience functions in Xlib. See XSetWMProtocols and
XGetWMProtocols for details. I expected this to be comon  knowledge on this
list, though.

Matthias



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