diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-13 10:11:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-13 10:11:39 +0000 |
commit | 8798be0e9649e582857484cfb2a9235e1e03cd93 (patch) | |
tree | 04ec42fbd4b5924087623bb9f4e4b93068effc15 /src/gui.c | |
parent | 862c27a03caa544b6a7167ff8dcf96a8f5de3ecd (diff) | |
download | vim-git-8798be0e9649e582857484cfb2a9235e1e03cd93.tar.gz |
updated for version 7.0-003v7.0.003
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4603,11 +4603,11 @@ gui_mouse_correct() /* Don't move the mouse when it's left or right of the Vim window */ if (x < 0 || x > Columns * gui.char_width) return; + if (y >= 0 # ifdef FEAT_WINDOWS - if (Y_2_ROW(y) >= tabline_height()) -# else - if (y >= 0) + && Y_2_ROW(y) >= tabline_height() # endif + ) wp = xy2win(x, y); if (wp != curwin && wp != NULL) /* If in other than current window */ { |