New Xming Windows Doesn't Grab Focus

Posted by Isaac Rabinovitch on Super User See other posts from Super User or by Isaac Rabinovitch
Published on 2012-06-07T21:00:22Z Indexed on 2012/06/07 22:43 UTC
Read the original article Hit count: 478

Filed under:
|
|

I do my day-to-day work on Windows 7 (no, that's not going to change) and often need to work with Linux running on Parallels. Switching between Windows and Linux desktops is a pain, so I've installed Cygwin+Xming (less complicated than CygwinX). I open a Cygwin command line using mintty, then do ssh -Y to get a Linux command line. Doing "vim" on the Linux command line causes the vim window to appear on my Windows desktop.

This is great, except that the new vim window doesn't automatically grab the focus, which stays with the mintty window. Years of habit cause me to start typing immediately without clicking on the new window. Having to switch manually is very jarring. Any way to make it automatic?

© Super User or respective owner

Related posts about cygwin

Related posts about x-windows