This is a problem in Cinnamon. There is a file that controls focus – windowAttentionHandler.js
It is located here:
/usr/share/cinnamon/js/ui/windowAttentionHandler.js
Change this:
if (!window || window.has_focus() || window.is_skip_taskbar() ||
(window.get_wm_class() &&
(window.get_wm_class().indexOf("Skype") > -1 ||
window.get_wm_class().indexOf("Quassel") > -1 ||
window.get_wm_class().indexOf("Pidgin") > -1)))
return;
with this:
if (!window || window.has_focus() || window.is_skip_taskbar() ||
(window.get_wm_class() &&
(window.get_wm_class().indexOf("Skype") > -1 ||
window.get_wm_class().indexOf("Quassel") > -1 ||
window.get_wm_class().indexOf("Brosix") > -1 ||
window.get_wm_class().indexOf("Pidgin") > -1)))
return;