From: nicm Date: Tue, 6 Jan 2015 09:12:53 +0000 (+0000) Subject: Unzoom before kill, from Thomas Adam. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=57ca3c7800d9fe24ab706512598715fb11cf9b9b;p=openbsd Unzoom before kill, from Thomas Adam. --- diff --git a/usr.bin/tmux/server-fn.c b/usr.bin/tmux/server-fn.c index e9d0012f47a..48b01e70df0 100644 --- a/usr.bin/tmux/server-fn.c +++ b/usr.bin/tmux/server-fn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-fn.c,v 1.77 2014/10/20 23:27:14 nicm Exp $ */ +/* $OpenBSD: server-fn.c,v 1.78 2015/01/06 09:12:53 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -270,6 +270,7 @@ server_kill_window(struct window *w) if (session_has(s, w) == NULL) continue; + server_unzoom_window(w); while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) { if (session_detach(s, wl)) { server_destroy_session_group(s);