diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-06-27 00:04:50 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-06-27 00:04:50 +0000 |
commit | 7bd9d49a863c7e7562d8aa52e59f3b1962c75abb (patch) | |
tree | 774b074ee69b04a93f3f9a3485cc6d20b1ca09c6 /usr.bin | |
parent | 755180b653deb5e14d7d0dd81c4df694520dee63 (diff) |
PANE_FREEZE doesn't do anything anymore, so remove it.
Diffstat (limited to 'usr.bin')
-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); |