summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-29 21:49:06 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-29 21:49:06 +0000
commitf7c42c21bacf84af52079b239a18294851fbdb3a (patch)
treec5d086441c15ac8629880b2043f95ea3758a719d /server-client.c
parent230e39ec3558142c94858efae53c36ab0efbcf59 (diff)
Support all four of the xterm mouse modes. Based on a diff from hsim at
gmx.li.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index c4cc9847..31ea99f5 100644
--- a/server-client.c
+++ b/server-client.c
@@ -450,7 +450,7 @@ server_client_reset_state(struct client *c)
mode = s->mode;
if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL &&
options_get_number(oo, "mouse-select-pane"))
- mode |= MODE_MOUSE;
+ mode |= MODE_MOUSE_STANDARD;
tty_update_mode(&c->tty, mode);
tty_reset(&c->tty);
}