On Wed, 30 Sep 2015, Christian Brabandt wrote:

Hi Christian!

On Mi, 30 Sep 2015, Christian Robinson wrote:

I get it immediately when the remote command is sent, before I
actually switch to the gVim window.

This is on Windows 7.

Hm, interesting. I don't see this with my usual vimrc setting, but when starting with -u NONE -N

I suspect this is some gui redrawing causes somehow a FocusGained event. If I start the gvim server like this:

gvim -u NONE -N --cmd ":set go=M" --noplugin --servername GVIM1

then it works again as expected. So try removing the menus and toolbars.

I have turned off the GUI toolbar, menu, and even the tabline, and I still have the problem when I remotely send a :tabnew command; gVim always immediately assumes it has gained focus.

Note that I specifically need this to work correctly when I execute a :tabnew command remotely.

- Christian

--
                  Don't just do something!!! Stand there!!!
Christian J. Robinson <[email protected]>      http://christianrobinson.name/

Raspunde prin e-mail lui