RE: ICCCM Window Deletion
- From: "Giles Atkinson" <giles atkinson eu citrix com>
- To: "Russell Shaw" <rjshaw netspace net au>, <wm-spec-list gnome org>
- Cc:
- Subject: RE: ICCCM Window Deletion
- Date: Mon, 24 Apr 2006 08:56:28 +0100
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: wm-spec-list-bounces gnome org
[mailto:wm-spec-list-bounces gnome org] 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]