mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	More unnecessary arguments now winlink points back to session.
This commit is contained in:
		
							
								
								
									
										6
									
								
								notify.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								notify.c
									
									
									
									
									
								
							@@ -184,12 +184,12 @@ notify_session(const char *name, struct session *s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
notify_winlink(const char *name, struct session *s, struct winlink *wl)
 | 
			
		||||
notify_winlink(const char *name, struct winlink *wl)
 | 
			
		||||
{
 | 
			
		||||
	struct cmd_find_state	fs;
 | 
			
		||||
 | 
			
		||||
	cmd_find_from_winlink(&fs, s, wl);
 | 
			
		||||
	notify_add(name, &fs, NULL, s, wl->window, NULL);
 | 
			
		||||
	cmd_find_from_winlink(&fs, wl);
 | 
			
		||||
	notify_add(name, &fs, NULL, wl->session, wl->window, NULL);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user