Don't eat the mouse event that triggers a drag end because we may want

to pass it on to application inside the pane.
This commit is contained in:
nicm
2015-04-21 15:21:41 +00:00
parent 1f404f6a23
commit 4cf4302962
2 changed files with 2 additions and 1 deletions

View File

@@ -391,7 +391,7 @@ server_client_check_mouse(struct client *c)
c->tty.mouse_drag_release = NULL;
c->tty.mouse_drag_flag = 0;
return (KEYC_NONE);
return (KEYC_MOUSE); /* not a key, but still may want to pass */
}
/* Convert to a key binding. */