Re: ctwm blocks "wmctrl -c"
Rhialto <[email protected]> Sat, 25 Sep 2021 17:59:11 +0200
| Newsgroups | gmane.comp.window-managers.ctwm |
|---|---|
| Message-ID | <[email protected]> |
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) | [email protected] -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
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmFPR0sACgkQmYnGRWHD +9PpyggAqeksF1JtMjGILaaqd2Z4reCWqwcYCI+JbjmsUlYvyKPNbKB5bliO3CDV 8xDJQuHMOd1BQ/vInfn2itwh8a1TbwQN0u3OviLWF3LTAFLxDnAfMmTuzO9u61o9 jElLyiTlu/dKO828DQQhvFvjxYWz7t4CDAdcUko5t8RWjD1xBkxu6MDJ0H8XKPqa TSvq7lw8zhkMOnSzSC5yPOzRYqKdM1aO6Nwyt35o4K852uEaSEb7lEf8bPlN+HOT g/4D5Yo/IV6YfZad4J4KnC2+PHcckmPzFqBb/HBQCiBBSWfpQwOxDYZZZkbTtQSH Xq1YlUVqhxYKL1/1F3VCbr6S6iGd4g== =L1bb -----END PGP SIGNATURE-----