[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.404 and 1.405

version 1.404, 2024/01/16 13:09:11 version 1.405, 2024/04/10 07:29:15
Line 626 
Line 626 
         } else if (MOUSE_RELEASE(m->b)) {          } else if (MOUSE_RELEASE(m->b)) {
                 type = UP;                  type = UP;
                 x = m->x, y = m->y, b = m->lb;                  x = m->x, y = m->y, b = m->lb;
                   if (m->sgr_type == 'm')
                           b = m->sgr_b;
                 log_debug("up at %u,%u", x, y);                  log_debug("up at %u,%u", x, y);
         } else {          } else {
                 if (c->flags & CLIENT_DOUBLECLICK) {                  if (c->flags & CLIENT_DOUBLECLICK) {
Line 646 
Line 648 
                                 log_debug("triple-click at %u,%u", x, y);                                  log_debug("triple-click at %u,%u", x, y);
                                 goto have_event;                                  goto have_event;
                         }                          }
                 } else {                  }
   
                   /* DOWN is the only remaining event type. */
                   if (type == NOTYPE) {
                         type = DOWN;                          type = DOWN;
                         x = m->x, y = m->y, b = m->b;                          x = m->x, y = m->y, b = m->b;
                         log_debug("down at %u,%u", x, y);                          log_debug("down at %u,%u", x, y);

Legend:
Removed from v.1.404  
changed lines
  Added in v.1.405