summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/resize.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-03-17 22:35:09 +0000
committernicm <nicm@openbsd.org>2012-03-17 22:35:09 +0000
commit05babb28bdab76474014f30d0f89f1d606eb785c (patch)
treec6497a91a4cc05fb670d065a8ae077d08b04dfae /usr.bin/tmux/resize.c
parent$Id$ -> $OpenBSD$. (diff)
downloadwireguard-openbsd-05babb28bdab76474014f30d0f89f1d606eb785c.tar.xz
wireguard-openbsd-05babb28bdab76474014f30d0f89f1d606eb785c.zip
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
Diffstat (limited to 'usr.bin/tmux/resize.c')
-rw-r--r--usr.bin/tmux/resize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/resize.c b/usr.bin/tmux/resize.c
index 14b3ff433b0..b28f8873ece 100644
--- a/usr.bin/tmux/resize.c
+++ b/usr.bin/tmux/resize.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resize.c,v 1.7 2010/12/21 22:37:59 nicm Exp $ */
+/* $OpenBSD: resize.c,v 1.8 2012/03/17 22:35:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -141,5 +141,6 @@ recalculate_sizes(void)
}
server_redraw_window(w);
+ notify_window_layout_changed(w);
}
}