summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-25 11:55:02 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-25 11:55:02 +0000
commitdfaeab2e8136555732d17bb9caeed565efef72e2 (patch)
treebec825628afb81b3dbabcb61dee234a18387ae52 /usr.bin/tmux
parentcb52f74db69a40f577d2dfc99a5a42498827c64b (diff)
Set pane resize flag when needed.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 0c948dd20ea..4f99dc1f489 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.94 2013/03/25 11:39:11 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.95 2013/03/25 11:55:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -918,6 +918,8 @@ window_pane_resize(struct window_pane *wp, u_int sx, u_int sy)
screen_resize(&wp->base, sx, sy, wp->saved_grid == NULL);
if (wp->mode != NULL)
wp->mode->resize(wp, sx, sy);
+
+ wp->flags |= PANE_RESIZE;
}
/*