Russel, > Why does destroying a client top-level window terminate the server connection if it has more than one top-level window?
I does not. I think that "deletion" here needs to be interpreted as external deletion, that is by another program. Programs such as xkill and window manager controls that allow the user to destroy an unwanted window should use the WM_DELETE_WINDOW protocol if the target window advertises it. Otherwise they typically call XKillClient() to close its server connection and cause the program to exit. This assumes that the target program will exit cleanly but that seems more likely to work than simply deleting the window. Giles -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Russell Shaw Sent: Sunday, April 23, 2006 5:10 AM To: wm-spec-list@gnome.org Subject: ICCCM Window Deletion Hi, In the ICCCM, it says: 4.2.8.1. Window Deletion Clients, usually those with multiple top-level windows, whose server connection must survive the deletion of some of their top-level windows, should include the atom WM_DELETE_WINDOW in the WM_PROTOCOLS property on each such window. They will receive a ClientMessage event as described above whose data[0] field is WM_DELETE_WINDOW. Why does destroying a client top-level window terminate the server connection if it has more than one top-level window? _______________________________________________ wm-spec-list mailing list wm-spec-list@gnome.org http://mail.gnome.org/mailman/listinfo/wm-spec-list _______________________________________________ wm-spec-list mailing list wm-spec-list@gnome.org http://mail.gnome.org/mailman/listinfo/wm-spec-list