aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-06-27 00:04:49 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-06-27 00:04:49 +0000
commit1202284f3728f98e2c40648f6813c64676547ef9 (patch)
treebb6032d6ff8eff48c43d7621182f1f3655d0863a
parent0503f83c64229b38f40e1ed6d0148c64521bf364 (diff)
downloadrtmux-1202284f3728f98e2c40648f6813c64676547ef9.tar.gz
rtmux-1202284f3728f98e2c40648f6813c64676547ef9.tar.bz2
rtmux-1202284f3728f98e2c40648f6813c64676547ef9.zip
PANE_FREEZE doesn't do anything anymore, so remove it.
-rw-r--r--tmux.h1
-rw-r--r--window-copy.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index da50205a..2f7fcd6a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -807,7 +807,6 @@ struct window_pane {
int flags;
#define PANE_REDRAW 0x1
-#define PANE_FREEZE 0x2
char *cmd;
char *shell;
diff --git a/window-copy.c b/window-copy.c
index 1c060dc0..a129118c 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -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);