Update of /cvsroot/tmux/tmux
In directory vz-cvs-2.sog:/tmp/cvs-serv23577

Modified Files:
        server-client.c 
Log Message:
Sync OpenBSD patchset 900:

Check if mouse-select-pane is ON not off when setting mouse flags,
reported by oga.


Index: server-client.c
===================================================================
RCS file: /cvsroot/tmux/tmux/server-client.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- server-client.c     25 Apr 2011 20:33:42 -0000      1.57
+++ server-client.c     5 May 2011 10:03:05 -0000       1.58
@@ -468,7 +468,7 @@
        mode = s->mode;
        if ((mode & ALL_MOUSE_MODES) == 0) {
                if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL &&
-                   options_get_number(oo, "mouse-select-pane") == 0)
+                   options_get_number(oo, "mouse-select-pane"))
                        mode |= MODE_MOUSE_STANDARD;
                else if (options_get_number(oo, "mouse-select-window"))
                        mode |= MODE_MOUSE_STANDARD;


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to