[hackers] [st] Add another obscure way to set a window title. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Wed, 12 Sep 2012 13:22:40 +0200 (CEST)

changeset: 292:8a93b0c2a955
user: Christoph Lohmann <20h_AT_r-36.net>
date: Wed Sep 12 13:00:39 2012 +0200
files: st.c
description:
Add another obscure way to set a window title.


diff -r 6a1cfe76c23c -r 8a93b0c2a955 st.c
--- a/st.c Mon Sep 10 13:39:41 2012 +0200
+++ b/st.c Wed Sep 12 13:00:39 2012 +0200
_AT_@ -1509,6 +1509,9 @@
                         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 */
_AT_@ -1624,6 +1627,7 @@
                         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;
Received on Wed Sep 12 2012 - 13:22:40 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 12 2012 - 13:24:05 CEST