Brosix takes focus on Linux with Cinnamon

Brosix takes focus on Linux with Cinnamon

I am running Mint 17 with cinnamon 64 bit. The only problem is when someone sends me a message it takes focus and pops up the chat window. I tried turning off every notification option there is but it still pops up. Any ideas?

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;