Skip to content

Commit

Permalink
Fix visual selection after left click on tabline
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mhinz committed Apr 13, 2015
1 parent 86d8472 commit 254950d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nvim/normal.c
Expand Up @@ -2063,6 +2063,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;
}

Expand Down

0 comments on commit 254950d

Please sign in to comment.