mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 09:28:51 +00:00
Add a missing call to window_set_name, from George Nachman.
This commit is contained in:
parent
ac9ebc29a2
commit
be63fef872
8
names.c
8
names.c
@ -78,13 +78,11 @@ window_name_callback(unused int fd, unused short events, void *data)
|
|||||||
wname = name;
|
wname = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(wname, w->name) == 0)
|
if (strcmp(wname, w->name)) {
|
||||||
xfree(wname);
|
window_set_name(w, wname);
|
||||||
else {
|
|
||||||
xfree(w->name);
|
|
||||||
w->name = wname;
|
|
||||||
server_status_window(w);
|
server_status_window(w);
|
||||||
}
|
}
|
||||||
|
xfree(wname);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
Loading…
Reference in New Issue
Block a user