File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2653,6 +2653,21 @@ jump_to_mouse(
26532653 return IN_STATUS_LINE ;
26542654 if (on_sep_line )
26552655 return IN_SEP_LINE ;
2656+ #ifdef FEAT_MENU
2657+ if (in_winbar )
2658+ {
2659+ /* A quick second click may arrive as a double-click, but we use it
2660+ * as a second click in the WinBar. */
2661+ if ((mod_mask & MOD_MASK_MULTI_CLICK ) && !(flags & MOUSE_RELEASED ))
2662+ {
2663+ wp = mouse_find_win (& row , & col );
2664+ if (wp == NULL )
2665+ return IN_UNKNOWN ;
2666+ winbar_click (wp , col );
2667+ }
2668+ return IN_OTHER_WIN | MOUSE_WINBAR ;
2669+ }
2670+ #endif
26562671 if (flags & MOUSE_MAY_STOP_VIS )
26572672 {
26582673 end_visual_mode ();
Original file line number Diff line number Diff line change @@ -761,6 +761,8 @@ static char *(features[]) =
761761
762762static int included_patches [] =
763763{ /* Add new patch number below this line */
764+ /**/
765+ 1292 ,
764766/**/
765767 1291 ,
766768/**/
You can’t perform that action at this time.
0 commit comments