mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 02:48:47 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
86955dbfe1
4
popup.c
4
popup.c
@ -322,8 +322,8 @@ popup_key_cb(struct client *c, struct key_event *event)
|
|||||||
return (0);
|
return (0);
|
||||||
if (KEYC_IS_MOUSE(event->key)) {
|
if (KEYC_IS_MOUSE(event->key)) {
|
||||||
/* Must be inside, checked already. */
|
/* Must be inside, checked already. */
|
||||||
if (!input_key_get_mouse(&pd->s, m, m->x - pd->px,
|
if (!input_key_get_mouse(&pd->s, m, m->x - pd->px - 1,
|
||||||
m->y - pd->py, &buf, &len))
|
m->y - pd->py - 1, &buf, &len))
|
||||||
return (0);
|
return (0);
|
||||||
bufferevent_write(job_get_event(pd->job), buf, len);
|
bufferevent_write(job_get_event(pd->job), buf, len);
|
||||||
return (0);
|
return (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user