aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-18 02:22:09 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-18 02:22:09 +0000
commitf41efd9d89f6596a4dc0600fd23ba56d69d1c47c (patch)
tree1e8f253fe22ffc27d7c385849c85a3969dbec881 /tmux.h
parentba7278373d4532e7cba530fcb025689ede6aeda3 (diff)
downloadrtmux-f41efd9d89f6596a4dc0600fd23ba56d69d1c47c.tar.gz
rtmux-f41efd9d89f6596a4dc0600fd23ba56d69d1c47c.tar.bz2
rtmux-f41efd9d89f6596a4dc0600fd23ba56d69d1c47c.zip
Sync OpenBSD patchset 1069:
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 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index db59392c..79274e6e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1392,6 +1392,16 @@ void mode_key_init_trees(void);
void mode_key_init(struct mode_key_data *, struct mode_key_tree *);
enum mode_key_cmd mode_key_lookup(struct mode_key_data *, int);
+/* notify.c */
+void notify_window_layout_changed(struct window *);
+void notify_window_unlinked(struct session *, struct window *);
+void notify_window_linked(struct session *, struct window *);
+void notify_window_renamed(struct window *);
+void notify_attached_session_changed(struct client *);
+void notify_session_renamed(struct session *);
+void notify_session_created(struct session *);
+void notify_session_closed(struct session *);
+
/* options.c */
int options_cmp(struct options_entry *, struct options_entry *);
RB_PROTOTYPE(options_tree, options_entry, entry, options_cmp);