Hi Jean-Marie,

2009/1/10 Jean-Marie Gaillourdet:
>
> I came across the mousefocus option which implements focus follows mouse
> and mouse follows focus for vim split windows in the gui variants. But, mouse
> follows focus seems not to work with MacVim.
>
> To reproduce in MacVim:
> * :set mousefocus
> * verify that the focus follows the mouse when you have split windows
> * observe that a focus switch by keyboard does not move the mouse
>
> According to :help mousefocus should move the mouse. Is this a bug?

Yes...well...I just never got around to implementing this
functionality.  In case somebody feels like submitting a patch I think
what needs to be done is to implement these two functions in
gui_macvim.m (or possibly only the latter for this particular
problem...getmouse() is definitely going to be tricky to implement):

void gui_mch_getmouse(int *x, int *y)
void gui_mch_setmouse(int x, int y)

I'll add it to my todo but a patch would be much appreciated as I've
got lots of other (more critical) things to work on.

Thanks for pointing out this missing feature (I did not even know it existed).

Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to