[BACK]Return to server-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-client.c between version 1.202 and 1.203

version 1.202, 2016/11/24 13:46:50 version 1.203, 2016/11/24 14:38:55
Line 474 
Line 474 
         case NOTYPE:          case NOTYPE:
                 break;                  break;
         case DRAG:          case DRAG:
                 if (c->tty.mouse_drag_update != NULL)                  if (c->tty.mouse_drag_update != NULL) {
                         c->tty.mouse_drag_update(c, m);                          c->tty.mouse_drag_update(c, m);
                 else {                          key = KEYC_MOUSE;
                   } else {
                         switch (MOUSE_BUTTONS(b)) {                          switch (MOUSE_BUTTONS(b)) {
                         case 0:                          case 0:
                                 if (where == PANE)                                  if (where == PANE)
Line 738 
Line 739 
   
                 m->valid = 1;                  m->valid = 1;
                 m->key = key;                  m->key = key;
   
                   /*
                    * A mouse event that continues to be valid but that we do not
                    * want to pass through.
                    */
                   if (key == KEYC_MOUSE)
                           return;
         } else          } else
                 m->valid = 0;                  m->valid = 0;
   

Legend:
Removed from v.1.202  
changed lines
  Added in v.1.203