[BACK]Return to notify.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/notify.c between version 1.24 and 1.25

version 1.24, 2017/05/04 07:16:43 version 1.25, 2017/08/30 10:33:57
Line 46 
Line 46 
   
         cmd_find_clear_state(&fs, 0);          cmd_find_clear_state(&fs, 0);
         if (cmd_find_empty_state(&ne->fs) || !cmd_find_valid_state(&ne->fs))          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          else
                 cmd_find_copy_state(&fs, &ne->fs);                  cmd_find_copy_state(&fs, &ne->fs);
   
Line 170 
Line 170 
 {  {
         struct cmd_find_state   fs;          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);          notify_add(name, &fs, c, NULL, NULL, NULL);
 }  }
   
Line 180 
Line 180 
         struct cmd_find_state   fs;          struct cmd_find_state   fs;
   
         if (session_alive(s))          if (session_alive(s))
                 cmd_find_from_session(&fs, s);                  cmd_find_from_session(&fs, s, 0);
         else          else
                 cmd_find_from_nothing(&fs);                  cmd_find_from_nothing(&fs, 0);
         notify_add(name, &fs, NULL, s, NULL, NULL);          notify_add(name, &fs, NULL, s, NULL, NULL);
 }  }
   
Line 191 
Line 191 
 {  {
         struct cmd_find_state   fs;          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);          notify_add(name, &fs, NULL, wl->session, wl->window, NULL);
 }  }
   
Line 200 
Line 200 
 {  {
         struct cmd_find_state   fs;          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);          notify_add(name, &fs, NULL, s, w, NULL);
 }  }
   
Line 209 
Line 209 
 {  {
         struct cmd_find_state   fs;          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);          notify_add(name, &fs, NULL, NULL, w, NULL);
 }  }
   
Line 218 
Line 218 
 {  {
         struct cmd_find_state   fs;          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);          notify_add(name, &fs, NULL, NULL, NULL, wp);
 }  }

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25