In theory, pressing the close button should close an xterm. It did before I did an
aptitude upgrade. (I'm running Debian testing). But now it doesn't—clicking the X does nothing—but only for some xterms.
In particular, if I launch an xterm from the KDE quicklaunch thing, or the K menu, those xterms are closeable. If, however, I launch it from a keyboard shortcut (khotkeys), then that xterm is not closeable.
Further, this is recursive: if I launch an xterm from an xterm, its closeable if its parent is.
This doesn't happen in general. It's only for xterm. I've tested starting these apps from an uncloseable xterm, and they are all closeable:
Interspersing another program in there breaks the chain (e.g, starting an xterm from konsole):
- xterm (uncloseable) → xterm (unclosable) → xterm (uncloseable) → …
- xterm (uncloseable) → konsole (closable) → xterm (closable) → …
I've checked my kwin Window Rules, I do not have any for xterm.