diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-08 21:45:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-08 21:45:39 +0000 |
commit | 9588a0f72bc1f72962e3e327d29775d3a970e579 (patch) | |
tree | 239a6a28f7f033daafca7b95ca8b10150de8328f /src/gui_kde_x11.cc | |
parent | e49b69a091e72ce1b1a5e7091ebf2ebddd795e6d (diff) | |
download | vim-git-9588a0f72bc1f72962e3e327d29775d3a970e579.tar.gz |
updated for version 7.0035
Diffstat (limited to 'src/gui_kde_x11.cc')
-rw-r--r-- | src/gui_kde_x11.cc | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/gui_kde_x11.cc b/src/gui_kde_x11.cc index 32fb747a5..21d4a041d 100644 --- a/src/gui_kde_x11.cc +++ b/src/gui_kde_x11.cc @@ -1303,19 +1303,13 @@ gui_mch_get_rgb(guicolor_T pixel)//{{{ }//}}} /* - * 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)//{{{ -{ - return vmw->mapFromGlobal(QCursor::pos()).x(); -}//}}} - - int -gui_mch_get_mouse_y(void)//{{{ + void +gui_mch_getmouse(int *x, int *y)//{{{ { - return vmw->mapFromGlobal(QCursor::pos()).y(); + *x = vmw->mapFromGlobal(QCursor::pos()).x(); + *y = vmw->mapFromGlobal(QCursor::pos()).y(); }//}}} void |