[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.43 and 1.44

version 1.43, 2022/10/28 13:00:02 version 1.44, 2023/06/30 13:19:32
Line 194 
Line 194 
         ne->client = c;          ne->client = c;
         ne->session = s;          ne->session = s;
         ne->window = w;          ne->window = w;
         ne->pane = (wp != NULL ? wp->id : -1);          ne->pane = (wp != NULL ? (int)wp->id : -1);
         ne->pbname = (pbname != NULL ? xstrdup(pbname) : NULL);          ne->pbname = (pbname != NULL ? xstrdup(pbname) : NULL);
   
         ne->formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS);          ne->formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS);
Line 241 
Line 241 
         ne.client = cmdq_get_client(item);          ne.client = cmdq_get_client(item);
         ne.session = target->s;          ne.session = target->s;
         ne.window = target->w;          ne.window = target->w;
         ne.pane = (target->wp != NULL ? target->wp->id : -1);          ne.pane = (target->wp != NULL ? (int)target->wp->id : -1);
   
         ne.formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS);          ne.formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS);
         format_add(ne.formats, "hook", "%s", name);          format_add(ne.formats, "hook", "%s", name);

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44