mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-22 06:46:49 -04:00
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).
This commit is contained in:
parent
c6208a98c8
commit
7984f08925
4 changed files with 8 additions and 46 deletions
2
osc.c
2
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue