From 1202284f3728f98e2c40648f6813c64676547ef9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 27 Jun 2011 00:04:49 +0000 Subject: [PATCH] PANE_FREEZE doesn't do anything anymore, so remove it. --- tmux.h | 1 - window-copy.c | 2 -- 2 files changed, 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);