mirror of
https://github.com/tmux/tmux.git
synced 2026-05-31 06:36:18 +00:00
Store pane ID for mouse last pane instead of a pointer to the pane.
This commit is contained in:
@@ -6507,10 +6507,7 @@ window_copy_drag_update(struct client *c, struct mouse_event *m)
|
||||
if (c == NULL)
|
||||
return;
|
||||
|
||||
if (c->tty.mouse_wp != NULL)
|
||||
wp = c->tty.mouse_wp;
|
||||
else
|
||||
wp = cmd_mouse_pane(m, NULL, NULL);
|
||||
wp = cmd_mouse_pane(m, NULL, NULL);
|
||||
if (wp == NULL)
|
||||
return;
|
||||
wme = TAILQ_FIRST(&wp->modes);
|
||||
|
||||
Reference in New Issue
Block a user