From 8ee2cf51d96908359f50febd89197ed8c4677991 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 15 Dec 2014 10:04:18 +0000 Subject: [PATCH] Notify on zoom/unzoom, from George Nachmann. --- usr.bin/tmux/window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index 86771dd128d..9c4ade53db1 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.114 2014/10/21 22:22:04 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.115 2014/12/15 10:04:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -491,6 +491,7 @@ window_zoom(struct window_pane *wp) w->saved_layout_root = w->layout_root; layout_init(w, wp); w->flags |= WINDOW_ZOOMED; + notify_window_layout_changed(w); return (0); } @@ -512,6 +513,7 @@ window_unzoom(struct window *w) wp->saved_layout_cell = NULL; } layout_fix_panes(w, w->sx, w->sy); + notify_window_layout_changed(w); return (0); } -- 2.20.1