Store pane ID for mouse last pane instead of a pointer to the pane.

This commit is contained in:
Nicholas Marriott
2026-05-20 13:41:13 +01:00
parent 2a9ba51907
commit c56bc9ed05
5 changed files with 36 additions and 29 deletions

2
tmux.h
View File

@@ -1719,7 +1719,7 @@ struct tty {
int mouse_drag_flag;
int mouse_scrolling_flag;
int mouse_slider_mpos;
struct window_pane *mouse_wp;
int mouse_last_pane;
void (*mouse_drag_update)(struct client *,
struct mouse_event *);
void (*mouse_drag_release)(struct client *,