diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.c | 15 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 17 insertions, 0 deletions
@@ -2653,6 +2653,21 @@ retnomove: return IN_STATUS_LINE; if (on_sep_line) return IN_SEP_LINE; +#ifdef FEAT_MENU + if (in_winbar) + { + /* A quick second click may arrive as a double-click, but we use it + * as a second click in the WinBar. */ + if ((mod_mask & MOD_MASK_MULTI_CLICK) && !(flags & MOUSE_RELEASED)) + { + wp = mouse_find_win(&row, &col); + if (wp == NULL) + return IN_UNKNOWN; + winbar_click(wp, col); + } + return IN_OTHER_WIN | MOUSE_WINBAR; + } +#endif if (flags & MOUSE_MAY_STOP_VIS) { end_visual_mode(); diff --git a/src/version.c b/src/version.c index 912808b05..f63b18685 100644 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1292, +/**/ 1291, /**/ 1290, |