mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
updated for version 7.0035
This commit is contained in:
@@ -5672,27 +5672,16 @@ display_errors()
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get current y mouse coordinate in text window.
|
||||
* Return -1 when unknown.
|
||||
* Get current mouse coordinates in text window.
|
||||
*/
|
||||
int
|
||||
gui_mch_get_mouse_x()
|
||||
void gui_mch_getmouse(int *x, int *y)
|
||||
{
|
||||
Point where;
|
||||
|
||||
GetMouse(&where);
|
||||
|
||||
return (where.h);
|
||||
}
|
||||
|
||||
int
|
||||
gui_mch_get_mouse_y()
|
||||
{
|
||||
Point where;
|
||||
|
||||
GetMouse(&where);
|
||||
|
||||
return (where.v);
|
||||
*x = where.h;
|
||||
*y = where.v;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user