Fix visual selection after left click on tabline

After left clicking on a tab in the tabline, the "in_tab_line" variable wasn't
set to 'false' and every following mouse action assumed still being on the
tabline which messed up visual selection etc.
This commit is contained in:
Marco Hinz
2015-04-09 04:08:33 +02:00
parent 2d4a6843fc
commit c1d1992b1c

View File

@@ -2067,6 +2067,7 @@ do_mouse (
} else if (is_drag && in_tab_line) {
c1 = TabPageIdxs[mouse_col];
tabpage_move(c1 <= 0 ? 9999 : c1 - 1);
in_tab_line = false;
return false;
}