mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-08 09:14:22 +01:00
Check if mouse-select-pane is ON not off when setting mouse flags,
reported by oga.
This commit is contained in:
parent
075816eb72
commit
7dddf56c08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user