Xwin shutdown command line option

Alexander Gottwald alexander.gottwald at s1999.tu-chemnitz.de
Wed Sep 22 11:50:26 PDT 2004


On Wed, 22 Sep 2004, Igor Pechtchanski wrote:

> FWIW, it might be better to add the capability to XWin.exe to be queried
> about which DISPLAY it's serving (via IPC of some sort).  That way, one
> could write a small routine that iterates over all the XWin processes and
> sends a signal to the one that's running a given DISPLAY.  Or is there
> already a way for an X client to send a shutdown message to the X server
> whose DISPLAY it's running on?

Maybe via the TerminateServer keysymbol. The client could generate the event 
and pass it to the eventqueue. 

Maybe there is a better way via the X11 protocol. But I've not found an appropiate
function. I'll send the posting to xorg at freedesktop.org too.

bye
	ago
-- 
 Alexander.Gottwald at s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the xorg mailing list