[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.282 and 1.283

version 1.282, 2019/05/08 18:07:12 version 1.283, 2019/05/12 18:16:33
Line 426 
Line 426 
         key_code                 key;          key_code                 key;
         struct timeval           tv;          struct timeval           tv;
         struct style_range      *sr;          struct style_range      *sr;
         enum { NOTYPE, MOVE, DOWN, UP, DRAG, WHEEL, DOUBLE, TRIPLE } type;          enum { NOTYPE,
                  MOVE,
                  DOWN,
                  UP,
                  DRAG,
                  WHEEL,
                  DOUBLE,
                  TRIPLE } type = NOTYPE;
         enum { NOWHERE,          enum { NOWHERE,
                PANE,                 PANE,
                STATUS,                 STATUS,
                STATUS_LEFT,                 STATUS_LEFT,
                STATUS_RIGHT,                 STATUS_RIGHT,
                STATUS_DEFAULT,                 STATUS_DEFAULT,
                BORDER } where;                 BORDER } where = NOWHERE;
   
         type = NOTYPE;  
         where = NOWHERE;  
   
         log_debug("%s mouse %02x at %u,%u (last %u,%u) (%d)", c->name, m->b,          log_debug("%s mouse %02x at %u,%u (last %u,%u) (%d)", c->name, m->b,
             m->x, m->y, m->lx, m->ly, c->tty.mouse_drag_flag);              m->x, m->y, m->lx, m->ly, c->tty.mouse_drag_flag);
   
Line 1003 
Line 1007 
         struct mouse_event              *m = &event->m;          struct mouse_event              *m = &event->m;
         struct session                  *s = c->session;          struct session                  *s = c->session;
         struct winlink                  *wl;          struct winlink                  *wl;
         struct window                   *w;  
         struct window_pane              *wp;          struct window_pane              *wp;
         struct window_mode_entry        *wme;          struct window_mode_entry        *wme;
         struct timeval                   tv;          struct timeval                   tv;
Line 1017 
Line 1020 
         if (s == NULL || (c->flags & (CLIENT_DEAD|CLIENT_SUSPENDED)) != 0)          if (s == NULL || (c->flags & (CLIENT_DEAD|CLIENT_SUSPENDED)) != 0)
                 goto out;                  goto out;
         wl = s->curw;          wl = s->curw;
         w = wl->window;  
   
         /* Update the activity timer. */          /* Update the activity timer. */
         if (gettimeofday(&c->activity_time, NULL) != 0)          if (gettimeofday(&c->activity_time, NULL) != 0)

Legend:
Removed from v.1.282  
changed lines
  Added in v.1.283