Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-10-26 10:01:18 +01:00
2 changed files with 1 additions and 2 deletions

1
tmux.1
View File

@ -3356,7 +3356,6 @@ All the notifications listed in the
section are hooks (without any arguments), except section are hooks (without any arguments), except
.Ic %exit . .Ic %exit .
The following additional hooks are available: The following additional hooks are available:
.Pp
.Bl -tag -width "XXXXXXXXXXXXXXXXXXXXXX" .Bl -tag -width "XXXXXXXXXXXXXXXXXXXXXX"
.It alert-activity .It alert-activity
Run when a window has activity. Run when a window has activity.

View File

@ -931,7 +931,7 @@ window_tree_command_callback(struct client *c, void *modedata, const char *s,
{ {
struct window_tree_modedata *data = modedata; struct window_tree_modedata *data = modedata;
if (data->dead) if (s == NULL || data->dead)
return (0); return (0);
data->entered = s; data->entered = s;