From 8053b65f1ed23a7d9dab0381cdbf2dbd441c61ec Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 28 Sep 2018 09:38:22 +0100 Subject: [PATCH] Fix select-pane -m, GitHub issuie 1490. --- cmd-select-pane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd-select-pane.c b/cmd-select-pane.c index 5cec82f2..90ca46ba 100644 --- a/cmd-select-pane.c +++ b/cmd-select-pane.c @@ -119,7 +119,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item) } if (args_has(args, 'm') || args_has(args, 'M')) { - if (args_has(args, 'm')) + if (args_has(args, 'm') && !window_pane_visible(wp)) return (CMD_RETURN_NORMAL); lastwp = marked_pane.wp;