mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										4
									
								
								notify.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								notify.c
									
									
									
									
									
								
							@@ -193,7 +193,7 @@ notify_add(const char *name, struct cmd_find_state *fs, struct client *c,
 | 
			
		||||
	ne->client = c;
 | 
			
		||||
	ne->session = s;
 | 
			
		||||
	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->formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS);
 | 
			
		||||
@@ -240,7 +240,7 @@ notify_hook(struct cmdq_item *item, const char *name)
 | 
			
		||||
	ne.client = cmdq_get_client(item);
 | 
			
		||||
	ne.session = target->s;
 | 
			
		||||
	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);
 | 
			
		||||
	format_add(ne.formats, "hook", "%s", name);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user