comparison src/gui.c @ 877:af98ef7f5a39 v7.0.003

updated for version 7.0-003
author vimboss
date Sat, 13 May 2006 10:11:39 +0000
parents 99305c4c42d4
children edb3bc186e97
comparison
equal deleted inserted replaced
876:1d0ef79659af 877:af98ef7f5a39
4601 4601
4602 gui_mch_getmouse(&x, &y); 4602 gui_mch_getmouse(&x, &y);
4603 /* Don't move the mouse when it's left or right of the Vim window */ 4603 /* Don't move the mouse when it's left or right of the Vim window */
4604 if (x < 0 || x > Columns * gui.char_width) 4604 if (x < 0 || x > Columns * gui.char_width)
4605 return; 4605 return;
4606 if (y >= 0
4606 # ifdef FEAT_WINDOWS 4607 # ifdef FEAT_WINDOWS
4607 if (Y_2_ROW(y) >= tabline_height()) 4608 && Y_2_ROW(y) >= tabline_height()
4608 # else 4609 # endif
4609 if (y >= 0) 4610 )
4610 # endif
4611 wp = xy2win(x, y); 4611 wp = xy2win(x, y);
4612 if (wp != curwin && wp != NULL) /* If in other than current window */ 4612 if (wp != curwin && wp != NULL) /* If in other than current window */
4613 { 4613 {
4614 validate_cline_row(); 4614 validate_cline_row();
4615 gui_mch_setmouse((int)W_ENDCOL(curwin) * gui.char_width - 3, 4615 gui_mch_setmouse((int)W_ENDCOL(curwin) * gui.char_width - 3,