Re: WM_DELETE_WINDOW




->  My suggestion is to add a new wm protocol, NET_WM_PING:
->  type = ClientMessage
->  window = client window
->  message_type = WM_PROTOCOLS
->  format = 32
->  data.l[0] = NET_WM_PING
->  data.l[1] = opaque handle set by the window manager to identify the ping
->  
->  The client that recieves this message is obliged to send it back to the root
->  window immediatly ( set window=root and do a XSendEvent ).

What happens with old clients?  You just kill them without giving
them a chance to save their stuff?

Seems like a dangerous hint, and it can be implemented in a better
way, as Raster pointed out.

Miguel.



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