Left click not working in Fullscreen


I am running Debian Jessie with Atom and PlatformIO installed. I also use a secondary monitor in addition to my primary laptop screen, each with different content.

If I put Atom in fullscreen mode on my external monitor, and then click anywhere/any program on my laptop monitor, then click back into Atom, it acts as if I’ve right clicked on the desktop background and I get a context menu for desktop settings. I am unable to interact with Atom at all by mouse, but if I Alt-Tab in, I am able to type correctly.

I’m just going to not use fullscreen mode, but it would be great if anybody knows of a solution.