aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/st.c b/st.c
index d8acce4..5b98c6f 100644
--- a/st.c
+++ b/st.c
@@ -1467,16 +1467,13 @@ strhandle(void) {
1467 case ']': /* OSC -- Operating System Command */ 1467 case ']': /* OSC -- Operating System Command */
1468 switch(p[0]) { 1468 switch(p[0]) {
1469 case '0': 1469 case '0':
1470 case '1':
1470 case '2': 1471 case '2':
1471 /* 1472 /*
1472 * TODO: Handle special chars in string, like umlauts. 1473 * TODO: Handle special chars in string, like umlauts.
1473 */ 1474 */
1474 if(p[1] == ';') { 1475 if(p[1] == ';') {
1475 if(!strncmp(strescseq.buf, "settitle ", 9)) { 1476 XStoreName(xw.dpy, xw.win, strescseq.buf+2);
1476 XStoreName(xw.dpy, xw.win, strescseq.buf+11);
1477 } else {
1478 XStoreName(xw.dpy, xw.win, strescseq.buf+2);
1479 }
1480 } 1477 }
1481 break; 1478 break;
1482 case ';': 1479 case ';':