mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Unzoom before kill, from Thomas Adam.
This commit is contained in:
parent
be0ad01b7c
commit
fee096a406
@ -270,6 +270,7 @@ server_kill_window(struct window *w)
|
|||||||
|
|
||||||
if (session_has(s, w) == NULL)
|
if (session_has(s, w) == NULL)
|
||||||
continue;
|
continue;
|
||||||
|
server_unzoom_window(w);
|
||||||
while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {
|
while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {
|
||||||
if (session_detach(s, wl)) {
|
if (session_detach(s, wl)) {
|
||||||
server_destroy_session_group(s);
|
server_destroy_session_group(s);
|
||||||
|
Loading…
Reference in New Issue
Block a user