aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-07-03 21:51:17 +0000
committerTiago Cunha <tcunha@gmx.com>2011-07-03 21:51:17 +0000
commitff7343c20355deab251a71bafb7cb86b2f0c545a (patch)
treed9d295dbe28bcd58f36cb78cdfc6f0f8877d69d4
parent3d47b5cd07c99613472845407cbd0805d5f77de8 (diff)
downloadrtmux-ff7343c20355deab251a71bafb7cb86b2f0c545a.tar.gz
rtmux-ff7343c20355deab251a71bafb7cb86b2f0c545a.tar.bz2
rtmux-ff7343c20355deab251a71bafb7cb86b2f0c545a.zip
Sync OpenBSD patchset 926:
PANE_FREEZE doesn't do anything anymore, so remove it.
-rw-r--r--tmux.h1
-rw-r--r--window-copy.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 1ff79b65..7c026275 100644
--- a/tmux.h
+++ b/tmux.h
@@ -803,7 +803,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 5c734af9..8c0436c5 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -1,4 +1,4 @@
-/* $Id: window-copy.c,v 1.133 2011-05-22 16:23:07 tcunha Exp $ */
+/* $Id$ */
/*
* 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);