aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-17 00:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-17 00:01:11 +0100
commitd54e990c4ffb576aa3d82306b970dc64bdd4cda6 (patch)
tree14657ab6804e8dcb4ee696afd823e19e46e0631f /window.c
parent1a6e696b08113ca17ee8e881844167cf94276846 (diff)
parentfe106842c879c8f2d0419afba4f90ce0c62c5e80 (diff)
downloadrtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.tar.gz
rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.tar.bz2
rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.zip
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r--window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/window.c b/window.c
index 9ec99f3a..8b215d78 100644
--- a/window.c
+++ b/window.c
@@ -390,7 +390,7 @@ window_set_name(struct window *w, const char *new_name)
{
free(w->name);
w->name = xstrdup(new_name);
- notify_window_renamed(w);
+ notify_window("window-renamed", w);
}
void
@@ -532,7 +532,7 @@ window_zoom(struct window_pane *wp)
w->saved_layout_root = w->layout_root;
layout_init(w, wp);
w->flags |= WINDOW_ZOOMED;
- notify_window_layout_changed(w);
+ notify_window("window-layout-changed", w);
return (0);
}
@@ -555,7 +555,7 @@ window_unzoom(struct window *w)
wp->saved_layout_cell = NULL;
}
layout_fix_panes(w, w->sx, w->sy);
- notify_window_layout_changed(w);
+ notify_window("window-layout-changed", w);
return (0);
}