Grab focus issue on the Cinnamon DE - RetroShare/documentation GitHub Wiki
There is an issue with Retroshare private chat window grabbing focus despite this option being disabled on the Cinnamon desktop environment.
A solution that worked for me is as follows:
open terminal and run the following under su: set org.cinnamon.notification-style=0
After this open the following file with a text editor at /usr/share/cinnamon/js/ui/windowAttentionHandler.js
find the line: window.activate(global.get_current_time());
and comment it out by changing as follows: //window.activate(global.get_current_time());
Save the file, and restart Cinnamon.
Hope this helps anybody else at their wits end with the window grabbing focus.
*Update: This should work on other apps such as Skype.