diff options
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 | ||||
-rw-r--r-- | usr.bin/tmux/window-copy.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 86ecdf62d77..b85ac81da00 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.290 2011/06/05 11:19:03 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.291 2011/06/27 00:04:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -807,7 +807,6 @@ struct window_pane { int flags; #define PANE_REDRAW 0x1 -#define PANE_FREEZE 0x2 char *cmd; char *shell; diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index adfea5e45e5..cde967656fe 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.72 2011/05/18 20:24:29 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.73 2011/06/27 00:04:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -170,7 +170,6 @@ window_copy_init(struct window_pane *wp) data->searchtype = WINDOW_COPY_OFF; data->searchstr = NULL; - wp->flags |= PANE_FREEZE; if (wp->fd != -1) bufferevent_disable(wp->event, EV_READ|EV_WRITE); @@ -234,7 +233,6 @@ window_copy_free(struct window_pane *wp) { struct window_copy_mode_data *data = wp->modedata; - wp->flags &= ~PANE_FREEZE; if (wp->fd != -1) bufferevent_enable(wp->event, EV_READ|EV_WRITE); |