summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-03-25 11:55:01 +0000
committernicm <nicm@openbsd.org>2013-03-25 11:55:01 +0000
commit5e555b2747dfe8146ed8b445a5f2e1acbc977e56 (patch)
treeb83093da9b495685e8495d25ca80636caf55c825
parentSort includes and fix spaces. (diff)
downloadwireguard-openbsd-5e555b2747dfe8146ed8b445a5f2e1acbc977e56.tar.xz
wireguard-openbsd-5e555b2747dfe8146ed8b445a5f2e1acbc977e56.zip
Set pane resize flag when needed.
-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;
}
/*