> So is there are workaround?
Not in Vim, but since you mention GTK the command-line program "wmctrl"
might offer a workaround? I'm using it in a shell script that
wraps /usr/bin/gvim to open files from the command-line and in the GUI
within a single Gvim instance. The following command raises an existing
Vim window whether it's on the current desktop or a different one, and
whether the window was minimized or not:
wmctrl -xa gvim.Gvim
Because of the -x it matches the window to raise by it's window class,
which means any single Vim window could be raised by the command. In
your case that probably wouldn't be very useful, because you intended
to use remote_foreground(). However wmctrl can also match windows by
their id and title string.
Hope this helps.
- Peter Odding
--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php