diff options
author | 2020-10-30 08:55:56 +0000 | |
---|---|---|
committer | 2020-10-30 08:55:56 +0000 | |
commit | 5971ac85452465741af635e3366f365f4ea77c8c (patch) | |
tree | 55af42fc95c958312f5c9ea704e2d7ba8302db33 /usr.bin/tmux/server-client.c | |
parent | Remove the old deprecated listen on syntax. (diff) | |
download | wireguard-openbsd-5971ac85452465741af635e3366f365f4ea77c8c.tar.xz wireguard-openbsd-5971ac85452465741af635e3366f365f4ea77c8c.zip |
Add a -O flag to display-menu to change the mouse behaviour and not
close the menu when the mouse is released, from teo_paul1 at yahoo dot
com.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 75bb0e50c87..25df84ab807 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.362 2020/10/28 10:09:10 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.363 2020/10/30 08:55:56 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1693,8 +1693,8 @@ server_client_reset_state(struct client *c) * mode. */ if (options_get_number(oo, "mouse")) { - mode &= ~ALL_MOUSE_MODES; if (c->overlay_draw == NULL) { + mode &= ~ALL_MOUSE_MODES; TAILQ_FOREACH(loop, &w->panes, entry) { if (loop->screen->mode & MODE_MOUSE_ALL) mode |= MODE_MOUSE_ALL; |