From ca5c28d224cb0ee881fea5301cc0edd0f3002799 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 21 Sep 2026 20:45:48 +0000 Subject: [PATCH] Do not cancel mark when click on border. --- key-bindings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/key-bindings.c b/key-bindings.c index 2555b9fcb..786017407 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.192 2026/08/06 09:05:04 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.193 2026/09/21 20:45:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -523,7 +523,7 @@ key_bindings_init(void) "bind -n TripleClick1Pane { select-pane -t=; if -F '#{||:#{pane_in_mode},#{mouse_any_flag}}' { send -M } { copy-mode -H; send -X select-line; run -d0.3; send -X copy-pipe-and-cancel } }", /* Mouse button 1 on border. */ - "bind -n MouseDown1Border { select-pane -M }", + "bind -n MouseDown1Border { select-pane -t= }", /* Mouse button 1 drag on border. */ "bind -n MouseDrag1Border { resize-pane -M }",