=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- src/usr.bin/tmux/window.c 2010/05/04 17:28:16 1.50 +++ src/usr.bin/tmux/window.c 2010/05/23 19:42:19 1.51 @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.50 2010/05/04 17:28:16 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.51 2010/05/23 19:42:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -721,7 +721,7 @@ } void -window_pane_key(struct window_pane *wp, struct client *c, int key) +window_pane_key(struct window_pane *wp, struct session *sess, int key) { struct window_pane *wp2; @@ -730,7 +730,7 @@ if (wp->mode != NULL) { if (wp->mode->key != NULL) - wp->mode->key(wp, c, key); + wp->mode->key(wp, sess, key); return; } @@ -749,7 +749,7 @@ void window_pane_mouse( - struct window_pane *wp, struct client *c, struct mouse_event *m) + struct window_pane *wp, struct session *sess, struct mouse_event *m) { if (!window_pane_visible(wp)) return; @@ -763,7 +763,7 @@ if (wp->mode != NULL) { if (wp->mode->mouse != NULL) - wp->mode->mouse(wp, c, m); + wp->mode->mouse(wp, sess, m); } else if (wp->fd != -1) input_mouse(wp, m); }