mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-28 21:30:03 +00:00
Add a missing call to window_set_name, from George Nachman.
This commit is contained in:
parent
ac9ebc29a2
commit
be63fef872
1 changed files with 3 additions and 5 deletions
8
names.c
8
names.c
|
|
@ -78,13 +78,11 @@ window_name_callback(unused int fd, unused short events, void *data)
|
|||
wname = name;
|
||||
}
|
||||
|
||||
if (strcmp(wname, w->name) == 0)
|
||||
xfree(wname);
|
||||
else {
|
||||
xfree(w->name);
|
||||
w->name = wname;
|
||||
if (strcmp(wname, w->name)) {
|
||||
window_set_name(w, wname);
|
||||
server_status_window(w);
|
||||
}
|
||||
xfree(wname);
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue