diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-09-12 13:00:39 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-09-12 13:00:39 +0200 |
commit | 1e334a1469006001bedf6dcc0690147409f30cca (patch) | |
tree | cce2974588e85737a4029af88aef1e9b8c3c5c44 | |
parent | 10cb169ede55b1f38601ebd9e85b4262916ddc16 (diff) | |
download | st-1e334a1469006001bedf6dcc0690147409f30cca.tar.gz st-1e334a1469006001bedf6dcc0690147409f30cca.tar.bz2 |
Add another obscure way to set a window title.
-rw-r--r-- | st.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1509,6 +1509,9 @@ strhandle(void) { break; } break; + case 'k': /* old title set compatibility */ + XStoreName(xw.dpy, xw.win, strescseq.buf); + break; case 'P': /* DSC -- Device Control String */ case '_': /* APC -- Application Program Command */ case '^': /* PM -- Privacy Message */ @@ -1624,6 +1627,7 @@ tputc(char *c) { case '_': /* APC -- Application Program Command */ case '^': /* PM -- Privacy Message */ case ']': /* OSC -- Operating System Command */ + case 'k': /* old title set compatibility */ strreset(); strescseq.type = ascii; term.esc |= ESC_STR; |