summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/resize.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-16 22:06:40 +0000
committernicm <nicm@openbsd.org>2016-10-16 22:06:40 +0000
commit2ae124fe486d7811b42e2daedf9d60322f1794d3 (patch)
tree3ba6edb7f45cafe7d15054b1d759a9425c8b0468 /usr.bin/tmux/resize.c
parentUse closefrom(4) in privsep parent and avoid some global file (diff)
downloadwireguard-openbsd-2ae124fe486d7811b42e2daedf9d60322f1794d3.tar.xz
wireguard-openbsd-2ae124fe486d7811b42e2daedf9d60322f1794d3.zip
Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.
Diffstat (limited to 'usr.bin/tmux/resize.c')
-rw-r--r--usr.bin/tmux/resize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/resize.c b/usr.bin/tmux/resize.c
index bda310f52ea..11c261e786e 100644
--- a/usr.bin/tmux/resize.c
+++ b/usr.bin/tmux/resize.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resize.c,v 1.19 2016/01/19 15:59:12 nicm Exp $ */
+/* $OpenBSD: resize.c,v 1.20 2016/10/16 22:06:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -156,6 +156,6 @@ recalculate_sizes(void)
}
server_redraw_window(w);
- notify_window_layout_changed(w);
+ notify_window("window-layout-changed", w);
}
}