Issue: If you try to drag and copy using mouse in a zoomed panel, the
select-pane function is executed before dragging, so panels will be
unzoomed.
Workaround: Removing the server_unzoom_window call from select-pane
command fixes this issue, however, this is not the greatest solution. I
would suggest to distinguish between mouse select-pane and keyboard
select-pane.
---
 cmd-select-pane.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index c84b414..a4fc18e 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -77,7 +77,6 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
     if ((wl = cmd_find_pane(cmdq, args_get(args, 't'), NULL, &wp)) == NULL)
         return (CMD_RETURN_ERROR);
 
-    server_unzoom_window(wp->window);
     if (!window_pane_visible(wp)) {
         cmdq_error(cmdq, "pane not visible");
         return (CMD_RETURN_ERROR);
-- 
2.3.6



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to