aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-09-13 06:51:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-09-13 07:04:18 +0000
commit7984f08925e18e24e6b54ac4498d65fa26b2a4d6 (patch)
tree377f4a8443f768c18068b5b8f8d9e962b10b126c /osc.c
parentmain: include toplevel-icon support in --version output (diff)
osc: OSC-1 does not set the icon, it sets the icon _label_
In fact, there appears there *is* no escape sequence to set the icon. Keep most of the logic in place, but in practice, we'll always set the icon to the app-id. That is, at startup, we set it to the configured app-id (either from config, or the command line). OSC-176, which sets the app-id, also updates the icon (to the app-id).
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/osc.c b/osc.c
index 541a13f4..5efc7588 100644
--- a/osc.c
+++ b/osc.c
@@ -1147,11 +1147,9 @@ osc_dispatch(struct terminal *term)
switch (param) {
case 0: /* icon + title */
term_set_window_title(term, string);
- term_set_icon(term, string);
break;
case 1: /* icon */
- term_set_icon(term, string);
break;
case 2: /* title */