Sync OpenBSD patchset 333:

Move some common and untidy code for window link/unlink into generic functions
instead of duplicating it in move/link window..
This commit is contained in:
Tiago Cunha
2009-09-20 22:15:32 +00:00
parent 3266fb5441
commit 7335ef5792
7 changed files with 81 additions and 111 deletions

5
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.443 2009-09-16 12:36:27 nicm Exp $ */
/* $Id: tmux.h,v 1.444 2009-09-20 22:15:32 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1454,6 +1454,9 @@ void server_status_window(struct window *);
void server_lock(void);
int server_unlock(const char *);
void server_kill_window(struct window *);
int server_link_window(
struct winlink *, struct session *, int, int, int, char **);
void server_unlink_window(struct session *, struct winlink *);
void server_destroy_session(struct session *);
void server_set_identify(struct client *);
void server_clear_identify(struct client *);