Change default_window_name to use window_default_command if the actual cmd is

empty. From Josh Elsasser.
This commit is contained in:
Nicholas Marriott
2009-07-02 18:17:46 +00:00
parent 29ac832cb3
commit 08c7249636
3 changed files with 7 additions and 6 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.348 2009-07-01 23:06:32 nicm Exp $ */
/* $Id: tmux.h,v 1.349 2009-07-02 18:17:46 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1407,6 +1407,7 @@ int screen_check_selection(struct screen *, u_int, u_int);
/* window.c */
extern struct windows windows;
const char *window_default_command(void);
int window_cmp(struct window *, struct window *);
int winlink_cmp(struct winlink *, struct winlink *);
RB_PROTOTYPE(windows, window, entry, window_cmp);