diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-05-04 17:40:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-05-04 17:40:32 +0000 |
commit | 7dddf56c081cf1e51dbcbf5e8881701122a1f22f (patch) | |
tree | 9038a993737489a8dae387c4b2aa06b0937a9c1a | |
parent | 075816eb72f859177b81e027e2241d50dbadec7b (diff) |
Check if mouse-select-pane is ON not off when setting mouse flags,
reported by oga.
-rw-r--r-- | server-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c index ef4946a1..454859e6 100644 --- a/server-client.c +++ b/server-client.c @@ -469,7 +469,7 @@ server_client_reset_state(struct client *c) mode = s->mode; if ((mode & ALL_MOUSE_MODES) == 0) { if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL && - options_get_number(oo, "mouse-select-pane") == 0) + options_get_number(oo, "mouse-select-pane")) mode |= MODE_MOUSE_STANDARD; else if (options_get_number(oo, "mouse-select-window")) mode |= MODE_MOUSE_STANDARD; |