version 1.314, 2020/04/09 12:16:16 |
version 1.315, 2020/04/09 13:52:31 |
|
|
wp = window_get_active_at(s->curw->window, px, py); |
wp = window_get_active_at(s->curw->window, px, py); |
if (wp != NULL) |
if (wp != NULL) |
where = PANE; |
where = PANE; |
|
else |
|
return (KEYC_UNKNOWN); |
} |
} |
|
|
if (where == NOWHERE) |
|
return (KEYC_UNKNOWN); |
|
if (where == PANE) |
if (where == PANE) |
log_debug("mouse %u,%u on pane %%%u", x, y, wp->id); |
log_debug("mouse %u,%u on pane %%%u", x, y, wp->id); |
else if (where == BORDER) |
else if (where == BORDER) |
|
|
struct window_pane *wp = w->active, *loop; |
struct window_pane *wp = w->active, *loop; |
struct screen *s; |
struct screen *s; |
struct options *oo = c->session->options; |
struct options *oo = c->session->options; |
int mode, cursor = 0; |
int mode, cursor; |
u_int cx = 0, cy = 0, ox, oy, sx, sy; |
u_int cx = 0, cy = 0, ox, oy, sx, sy; |
|
|
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |