On Fri 24 Sep 2021 at 18:45:20 -0500, Matthew D. Fuller wrote: > So... it's _possible_, but only if someone implements it 8-}
Such as in https://code.launchpad.net/~rhialto/ctwm/net-close-window aka lp:~rhialto/ctwm/net-close-window. The changes aren't big: https://bazaar.launchpad.net/~rhialto/ctwm/net-close-window/revision/691 I was deliberating whether I would use f.delete or f.deleteordestroy. The former only works if the application supports the WM_DELETE_WINDOW protocol; if it doesn't, the whole application is killed (as mentioned elsewhere in this thread). The documentation as given does contemplate that the window manager uses XKillClient. But it seems a bit drastic and unexpected that if you want to close just one window of some multi-window program, that you run the risk to kill the whole program. But if people insist, it can be changed easily :-) > Matthew Fuller (MF4839) | fulle...@over-yonder.net -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFH falu.nl@rhialto
signature.asc
Description: PGP signature