Drain notifys once at the end of the server loop instead of doing it

from the end of every command queue (which could be nested).
This commit is contained in:
nicm
2016-10-15 00:01:01 +00:00
parent ed971268be
commit 9b3ae84993
4 changed files with 4 additions and 33 deletions

3
tmux.h
View File

@@ -1577,8 +1577,7 @@ void mode_key_init(struct mode_key_data *, struct mode_key_tree *);
enum mode_key_cmd mode_key_lookup(struct mode_key_data *, key_code);
/* notify.c */
void notify_enable(void);
void notify_disable(void);
void notify_drain(void);
void notify_input(struct window_pane *, struct evbuffer *);
void notify_window_layout_changed(struct window *);
void notify_window_unlinked(struct session *, struct window *);