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

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

Only select pane on click, not drag. From hsim at gmx.li.


Index: server-client.c
===================================================================
RCS file: /cvsroot/tmux/tmux/server-client.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- server-client.c     18 May 2011 20:30:14 -0000      1.60
+++ server-client.c     18 May 2011 20:31:32 -0000      1.61
@@ -330,7 +330,8 @@
                if (mouse->y + 1 == c->tty.sy &&
                    options_get_number(oo, "mouse-select-window") &&
                    options_get_number(oo, "status")) {
-                       if (mouse->b == MOUSE_UP) {
+                       if (mouse->b == MOUSE_UP &&
+                           c->last_mouse.b != MOUSE_UP) {
                                status_set_window_at(c, mouse->x);
                                return;
                        }


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to