Save mouse buttons as well as position.

This commit is contained in:
nicm
2019-05-09 14:09:32 +00:00
parent 21d9750450
commit cb10bfb8ef
2 changed files with 3 additions and 1 deletions

1
tmux.h
View File

@ -1168,6 +1168,7 @@ struct tty {
u_int mouse_last_x;
u_int mouse_last_y;
u_int mouse_last_b;
int mouse_drag_flag;
void (*mouse_drag_update)(struct client *,
struct mouse_event *);