diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-08-30 12:03:59 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-08-30 12:03:59 +0100 |
commit | b4c633cc40cd3d5963e24e6d560bc2c7f6553000 (patch) | |
tree | 3c94bc6f3d3b3924b12f791c2adb5a664ecdd93b /notify.c | |
parent | 8f364053ca9242dafcddc304aed49aac80132ba3 (diff) | |
parent | 54c5070767d58a4fb0559eb9b3ee19caa72c4a73 (diff) | |
download | rtmux-b4c633cc40cd3d5963e24e6d560bc2c7f6553000.tar.gz rtmux-b4c633cc40cd3d5963e24e6d560bc2c7f6553000.tar.bz2 rtmux-b4c633cc40cd3d5963e24e6d560bc2c7f6553000.zip |
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'notify.c')
-rw-r--r-- | notify.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -45,7 +45,7 @@ notify_hook(struct cmdq_item *item, struct notify_entry *ne) cmd_find_clear_state(&fs, 0); if (cmd_find_empty_state(&ne->fs) || !cmd_find_valid_state(&ne->fs)) - cmd_find_from_nothing(&fs); + cmd_find_from_nothing(&fs, 0); else cmd_find_copy_state(&fs, &ne->fs); @@ -169,7 +169,7 @@ notify_client(const char *name, struct client *c) { struct cmd_find_state fs; - cmd_find_from_client(&fs, c); + cmd_find_from_client(&fs, c, 0); notify_add(name, &fs, c, NULL, NULL, NULL); } @@ -179,9 +179,9 @@ notify_session(const char *name, struct session *s) struct cmd_find_state fs; if (session_alive(s)) - cmd_find_from_session(&fs, s); + cmd_find_from_session(&fs, s, 0); else - cmd_find_from_nothing(&fs); + cmd_find_from_nothing(&fs, 0); notify_add(name, &fs, NULL, s, NULL, NULL); } @@ -190,7 +190,7 @@ notify_winlink(const char *name, struct winlink *wl) { struct cmd_find_state fs; - cmd_find_from_winlink(&fs, wl); + cmd_find_from_winlink(&fs, wl, 0); notify_add(name, &fs, NULL, wl->session, wl->window, NULL); } @@ -199,7 +199,7 @@ notify_session_window(const char *name, struct session *s, struct window *w) { struct cmd_find_state fs; - cmd_find_from_session_window(&fs, s, w); + cmd_find_from_session_window(&fs, s, w, 0); notify_add(name, &fs, NULL, s, w, NULL); } @@ -208,7 +208,7 @@ notify_window(const char *name, struct window *w) { struct cmd_find_state fs; - cmd_find_from_window(&fs, w); + cmd_find_from_window(&fs, w, 0); notify_add(name, &fs, NULL, NULL, w, NULL); } @@ -217,6 +217,6 @@ notify_pane(const char *name, struct window_pane *wp) { struct cmd_find_state fs; - cmd_find_from_pane(&fs, wp); + cmd_find_from_pane(&fs, wp, 0); notify_add(name, &fs, NULL, NULL, NULL, wp); } |