mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Sync OpenBSD patchset 483:
Change session and client activity and creation time members to have more meaningful names. Also, remove the code to try and update the session activity time for the command client when a command message is received as is pointless because it des not have a session.
This commit is contained in:
10
tmux.h
10
tmux.h
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.h,v 1.493 2009-11-04 22:39:20 tcunha Exp $ */
|
||||
/* $Id: tmux.h,v 1.494 2009-11-04 22:42:31 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -920,8 +920,9 @@ TAILQ_HEAD(session_groups, session_group);
|
||||
|
||||
struct session {
|
||||
char *name;
|
||||
struct timeval tv;
|
||||
time_t activity;
|
||||
|
||||
struct timeval creation_time;
|
||||
struct timeval activity_time;
|
||||
|
||||
u_int sx;
|
||||
u_int sy;
|
||||
@ -1059,7 +1060,8 @@ struct mouse_event {
|
||||
/* Client connection. */
|
||||
struct client {
|
||||
struct imsgbuf ibuf;
|
||||
struct timeval tv;
|
||||
|
||||
struct timeval creation_time;
|
||||
|
||||
struct environ environ;
|
||||
|
||||
|
Reference in New Issue
Block a user