mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Change default_window_name to use window_default_command if the actual cmd is
empty. From Josh Elsasser.
This commit is contained in:
		
							
								
								
									
										4
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								window.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: window.c,v 1.86 2009-07-01 19:42:55 nicm Exp $ */
 | 
			
		||||
/* $Id: window.c,v 1.87 2009-07-02 18:17:46 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -54,8 +54,6 @@
 | 
			
		||||
/* Global window list. */
 | 
			
		||||
struct windows windows;
 | 
			
		||||
 | 
			
		||||
const char	*window_default_command(void);
 | 
			
		||||
 | 
			
		||||
RB_GENERATE(winlinks, winlink, entry, winlink_cmp);
 | 
			
		||||
 | 
			
		||||
const char *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user