diff options
author | 2016-10-16 22:06:40 +0000 | |
---|---|---|
committer | 2016-10-16 22:06:40 +0000 | |
commit | 2ae124fe486d7811b42e2daedf9d60322f1794d3 (patch) | |
tree | 3ba6edb7f45cafe7d15054b1d759a9425c8b0468 /usr.bin/tmux/layout-custom.c | |
parent | Use closefrom(4) in privsep parent and avoid some global file (diff) | |
download | wireguard-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/layout-custom.c')
-rw-r--r-- | usr.bin/tmux/layout-custom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/layout-custom.c b/usr.bin/tmux/layout-custom.c index dd386a11e90..eb28c1ff052 100644 --- a/usr.bin/tmux/layout-custom.c +++ b/usr.bin/tmux/layout-custom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout-custom.c,v 1.10 2016/08/03 09:07:02 nicm Exp $ */ +/* $OpenBSD: layout-custom.c,v 1.11 2016/10/16 22:06:40 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -175,7 +175,7 @@ layout_parse(struct window *w, const char *layout) layout_print_cell(lc, __func__, 0); - notify_window_layout_changed(w); + notify_window("window-layout-changed", w); return (0); |