summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-07-13 06:27:41 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-07-13 06:27:41 +0000
commit5385a9bb347ae703fdc44eb59c71d70e61fbf95e (patch)
tree8b62f04660a8c99b8315117072d6a06384c6dbdd /tmux.h
parent35a8a61254a190d2c4ec52f0525993ab1594bc44 (diff)
Add a queue of notifys and a way to turn them off and on (we do not want
notifys to happen during some commands). Based on code from George Nachman.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index d189385f..6c03cdc3 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1484,6 +1484,8 @@ 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_enable(void);
+void notify_disable(void);
void notify_window_layout_changed(struct window *);
void notify_window_unlinked(struct session *, struct window *);
void notify_window_linked(struct session *, struct window *);
@@ -2162,11 +2164,11 @@ void queue_window_name(struct window *);
char *default_window_name(struct window *);
/* signal.c */
-void set_signals(void(*)(int, short, void *));
-void clear_signals(int);
+void set_signals(void(*)(int, short, void *));
+void clear_signals(int);
/* control.c */
-void control_callback(struct client *, int, void*);
+void control_callback(struct client *, int, void*);
/* session.c */
extern struct sessions sessions;