aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-08-12 19:23:01 +0000
committerTiago Cunha <tcunha@gmx.com>2012-08-12 19:23:01 +0000
commitc8849ac990af34eef6b3516c392d1796b4fbeba3 (patch)
tree3cc0ecd6be9a992c44857d4d986060fb40978a7d /tmux.h
parent44307712edd30911286fb350788b64ba77dc3a20 (diff)
downloadrtmux-c8849ac990af34eef6b3516c392d1796b4fbeba3.tar.gz
rtmux-c8849ac990af34eef6b3516c392d1796b4fbeba3.tar.bz2
rtmux-c8849ac990af34eef6b3516c392d1796b4fbeba3.zip
Sync OpenBSD patchset 1153:
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 49f053f3..223d5e94 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1480,6 +1480,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 *);
@@ -2158,11 +2160,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;