From: nicm Date: Mon, 15 Dec 2014 10:04:18 +0000 (+0000) Subject: Notify on zoom/unzoom, from George Nachmann. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8ee2cf51d96908359f50febd89197ed8c4677991;p=openbsd Notify on zoom/unzoom, from George Nachmann. --- 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); }