aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/csi.c b/csi.c
index 39821d8d..61e0e44b 100644
--- a/csi.c
+++ b/csi.c
@@ -1377,10 +1377,6 @@ csi_dispatch(struct terminal *term, uint8_t final)
tll_push_back(
term->window_title_stack, xstrdup(term->window_title));
}
- if (what == 0 || what == 1) {
- tll_push_back(
- term->window_icon_stack, xstrdup(term->window_icon));
- }
break;
}
@@ -1394,13 +1390,6 @@ csi_dispatch(struct terminal *term, uint8_t final)
free(title);
}
}
- if (what == 0 || what == 1) {
- if (tll_length(term->window_icon_stack) > 0) {
- char *icon = tll_pop_back(term->window_icon_stack);
- term_set_icon(term, icon);
- free(icon);
- }
- }
break;
}