[BACK]Return to cmd-resize-pane.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-resize-pane.c between version 1.26 and 1.27

version 1.26, 2016/10/14 22:14:22 version 1.27, 2016/10/16 17:55:14
Line 60 
Line 60 
         int                      x, y;          int                      x, y;
   
         if (args_has(args, 'M')) {          if (args_has(args, 'M')) {
                 if (cmd_mouse_window(&cmdq->item->mouse, &s) == NULL)                  if (cmd_mouse_window(&cmdq->mouse, &s) == NULL)
                         return (CMD_RETURN_NORMAL);                          return (CMD_RETURN_NORMAL);
                 if (c == NULL || c->session != s)                  if (c == NULL || c->session != s)
                         return (CMD_RETURN_NORMAL);                          return (CMD_RETURN_NORMAL);
                 c->tty.mouse_drag_update = cmd_resize_pane_mouse_update;                  c->tty.mouse_drag_update = cmd_resize_pane_mouse_update;
                 cmd_resize_pane_mouse_update(c, &cmdq->item->mouse);                  cmd_resize_pane_mouse_update(c, &cmdq->mouse);
                 return (CMD_RETURN_NORMAL);                  return (CMD_RETURN_NORMAL);
         }          }
   

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27