I use Debian 8 with Gnome. When I switch workspaces the current active windows looses it's focus (I think this is a default behaviour, rather than a bug). Is there a way to make gnome remember active window on workspace you are leaving and activate it when you switch back. Thanks in advance!
I've just realized that it happens only if I have Google Hangouts conversations opened. They are on every screen and after workspace switch they are focused instead of last window, even if minimized.
The solution is to go to Google Hangouts' Chrome extension settings and uncheck the "Keep Hangouts on top of other windows" option.