Automatically change input source I have two languages I am actively using. English is my default, but in some applications such as Skype I use Russian. Every time I am switching from Skype to Safari I have manually switch back from Russian to English and this is annoying. How can I configure so that language switch is handled by operating system  automatically when I am changing windows? 

In Keyboards->Input Sources I've ticked Automatically switch to a document's input source but it doesn't work, still if I've switched to Russian it will stay while I will change it again.

I am on Yosemite 10.

Thanks for any help!
Here's what I'm experiencing on El Capitán...

The key here is "document's input source" so when switching from Skype to Safari, if no document (web page in this case) has focus the input source will not change. If you then select, for example, a field on a page, the input source should change to whatever the last input source was when you were last in that document. So one application program can have multiple documents each with its own input source and the OS won't switch input sources until a specific document within the app has been selected.

If you open a new safari window or tab, the currently active input source will be used for that new "document."