Update of /cvsroot/tmux/tmux In directory vz-cvs-2.sog:/tmp/cvs-serv17626 Modified Files: window.c Log Message: |PatchSet 894 |Date: 2011/04/18 21:57:16 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |The mouse should only work in copy mode if mode-mouse is set, not just |mouse-select-pane.
Index: window.c =================================================================== RCS file: /cvsroot/tmux/tmux/window.c,v retrieving revision 1.146 retrieving revision 1.147 diff -u -d -r1.146 -r1.147 --- window.c 6 Apr 2011 22:16:33 -0000 1.146 +++ window.c 18 Apr 2011 22:03:55 -0000 1.147 @@ -890,7 +890,8 @@ m->y -= wp->yoff; if (wp->mode != NULL) { - if (wp->mode->mouse != NULL) + if (wp->mode->mouse != NULL && + options_get_number(&wp->window->options, "mode-mouse")) wp->mode->mouse(wp, sess, m); } else if (wp->fd != -1) input_mouse(wp, m); ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs