Intellij cursor keeps following mouse and highlight

For some reason Intellijs text cursor keeps following my mouse and highlighting everything. Is there some setting that can do that? I can't seem to find it from searching the settings. Where else could it be?


Solution 1:

If you have a touchscreen try touching it somewhere. It helped me to solve the issue.

Found the solution in this thread on the JB website.