commit | 85eee5b969485142b54337cadadd65a38e7d7396 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 03 20:34:57 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 03 20:34:57 2021 +0200 |
tree | 567e41e984bb7da60b1a3ec18123bdd83e4006d9 | |
parent | 0a808598e4edb3f1a167ac8c5c1f9084af625c4d [diff] [blame] |
patch 8.2.2930: when a popup is visible a mouse move my restart Visual mode Problem: When a popup is visible a mouse move my restart Visual mode. Solution: Reset held_button when ending Visual mode. (closes #8318)
diff --git a/src/normal.c b/src/normal.c index cb496dd..f8ec8e9 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -1380,6 +1380,7 @@ #endif VIsual_active = FALSE; + reset_held_button(); setmouse(); mouse_dragging = 0;