diff options
author | 2013-03-25 11:55:01 +0000 | |
---|---|---|
committer | 2013-03-25 11:55:01 +0000 | |
commit | 5e555b2747dfe8146ed8b445a5f2e1acbc977e56 (patch) | |
tree | b83093da9b495685e8495d25ca80636caf55c825 | |
parent | Sort includes and fix spaces. (diff) | |
download | wireguard-openbsd-5e555b2747dfe8146ed8b445a5f2e1acbc977e56.tar.xz wireguard-openbsd-5e555b2747dfe8146ed8b445a5f2e1acbc977e56.zip |
Set pane resize flag when needed.
-rw-r--r-- | usr.bin/tmux/window.c | 4 |
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; } /* |